Ron Au commited on
Commit
f7bfaff
1 Parent(s): 7cd74ca

style(output): Change/add wording

Browse files
Files changed (2) hide show
  1. app.py +1 -0
  2. static/style.css +1 -1
app.py CHANGED
@@ -68,6 +68,7 @@ def process_task(task_id):
68
 
69
  tasks[task_id]["status"] = "processing"
70
  tasks[task_id]["started_at"] = time()
 
71
 
72
  try:
73
  tasks[task_id]["value"] = generate_image(tasks[task_id]["prompt"])
 
68
 
69
  tasks[task_id]["status"] = "processing"
70
  tasks[task_id]["started_at"] = time()
71
+ print(f"Processing {task_id}")
72
 
73
  try:
74
  tasks[task_id]["value"] = generate_image(tasks[task_id]["prompt"])
static/style.css CHANGED
@@ -259,7 +259,7 @@ button.toggle-name.off {
259
  }
260
 
261
  [data-state="failed"] .duration.displayed::after {
262
- content: 'ERROR';
263
  position: absolute;
264
  top: 20%;
265
  left: 0;
 
259
  }
260
 
261
  [data-state="failed"] .duration.displayed::after {
262
+ content: 'Try again';
263
  position: absolute;
264
  top: 20%;
265
  left: 0;