lalashechka commited on
Commit
c376c28
·
1 Parent(s): 954cde7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -47,7 +47,7 @@ def flip_text(prompt, key):
47
  elif status == "generating":
48
  continue
49
  elif status == "fail":
50
- return "https://myneuralnetworks.ru/static/img/zp3.jpg"
51
  elif status == "success":
52
  photo = r_check.json()['data']['picUrl']
53
  ph_url = eval(photo)[0]["picUrl"]
@@ -64,7 +64,7 @@ def flip_text(prompt, key):
64
  break
65
 
66
  else:
67
- return "https://myneuralnetworks.ru/static/img/zp2.jpg"
68
 
69
 
70
  css = """
 
47
  elif status == "generating":
48
  continue
49
  elif status == "fail":
50
+ return ["https://myneuralnetworks.ru/static/img/zp3.jpg"]
51
  elif status == "success":
52
  photo = r_check.json()['data']['picUrl']
53
  ph_url = eval(photo)[0]["picUrl"]
 
64
  break
65
 
66
  else:
67
+ return ["https://myneuralnetworks.ru/static/img/zp2.jpg"]
68
 
69
 
70
  css = """