DigiP-AI commited on
Commit
91daaf9
·
verified ·
1 Parent(s): 21aa20c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -7
app.py CHANGED
@@ -57,12 +57,6 @@ timeout = 100
57
  def flip_image(x):
58
  return np.fliplr(x)
59
 
60
- def load_set(progress=gr.Progress()):
61
- imgs = [None] * 24
62
- for img in progress.tqdm(imgs, desc="Loading..."):
63
- time.sleep(0.1)
64
- return ["Loaded"] * 2
65
-
66
  def clear():
67
  return None
68
 
@@ -198,7 +192,7 @@ with gr.Blocks(theme=theme, css=css, elem_id="app-container") as app:
198
  inputs = [text_prompt],
199
  )
200
 
201
- text_button.click(query, load_set, inputs=[custom_lora, text_prompt, negative_prompt, steps, cfg, method, seed, strength, width, height], outputs=[image_output, seed_output])
202
 
203
  with gr.Tab("Flip Image"):
204
  with gr.Row():
 
57
  def flip_image(x):
58
  return np.fliplr(x)
59
 
 
 
 
 
 
 
60
  def clear():
61
  return None
62
 
 
192
  inputs = [text_prompt],
193
  )
194
 
195
+ text_button.click(query, inputs=[custom_lora, text_prompt, negative_prompt, steps, cfg, method, seed, strength, width, height], outputs=[image_output, seed_output])
196
 
197
  with gr.Tab("Flip Image"):
198
  with gr.Row():