Comfy Apps: 12-workflow image-gen web GUI + payment frontend
- Flask frontend + serialized GPU worker + BTCPay invoice/webhook - 12 example images rendered from the real ComfyUI workflows - fix: ipadapter workflow uses modern IPAdapter node (was broken IPAdapterApply) - helper scripts: generate/optimize examples - README with deploy recipe
This commit is contained in:
24
templates/job.html
Normal file
24
templates/job.html
Normal file
@@ -0,0 +1,24 @@
|
||||
<!doctype html>
|
||||
<html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<title>Job — Comfy Apps</title>
|
||||
<link rel="stylesheet" href="/static/style.css">
|
||||
<meta http-equiv="refresh" content="4"></head>
|
||||
<body>
|
||||
<div class="wrap">
|
||||
<header><div class="logo"><a href="/">Comfy<span>Apps</span></a></div><div class="nav"><a href="/jobs">Gallery</a></div></header>
|
||||
<div class="hero" style="padding-bottom:10px">
|
||||
<h1>Job <span class="status {{ job['status'] }}">{{ job['status'] }}</span></h1>
|
||||
<p class="muted">{{ job['app'].replace('_',' ').title() }} · created {{ '%.0f' % job['created_at'] }}</p>
|
||||
</div>
|
||||
{% if job['status'] == 'done' and job['result_file'] %}
|
||||
<div class="result" style="max-width:900px;margin-bottom:40px">
|
||||
<img src="/image/{{ job['result_file'] }}">
|
||||
</div>
|
||||
{% elif job['status'] == 'failed' %}
|
||||
<div style="max-width:680px"><p style="color:var(--danger)">{{ job['error'] }}</p></div>
|
||||
{% else %}
|
||||
<div style="max-width:680px"><p class="muted">Working on it… the 4080 is rendering your image. This page refreshes automatically.</p></div>
|
||||
{% endif %}
|
||||
<p class="muted" style="padding-bottom:40px">{% if job['prompt'] %}<em>“{{ job['prompt'] }}”</em>{% endif %}</p>
|
||||
</div>
|
||||
</body></html>
|
||||
Reference in New Issue
Block a user