Rishabh12j commited on
Commit
9a406d0
·
verified ·
1 Parent(s): 90b7da2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -71,14 +71,14 @@ def txt2img_workflow(checkpoint_name, positive_prompt):
71
  previous_image = get_latest_image()
72
 
73
  start_queue(prompt)
74
-
75
- while True:
76
  latest_image = get_latest_image()
77
  if latest_image != previous_image:
78
  return latest_image
79
 
80
  time.sleep(1)
81
-
82
 
83
 
84
  def main():
 
71
  previous_image = get_latest_image()
72
 
73
  start_queue(prompt)
74
+ return True
75
+ """while True:
76
  latest_image = get_latest_image()
77
  if latest_image != previous_image:
78
  return latest_image
79
 
80
  time.sleep(1)
81
+ """
82
 
83
 
84
  def main():