Spaces:
Runtime error
Runtime error
ChenyangSi
commited on
Commit
·
f182225
1
Parent(s):
fac7910
Update app.py
Browse files
app.py
CHANGED
@@ -178,11 +178,11 @@ with block:
|
|
178 |
image_2_label = gr.Markdown("FreeU")
|
179 |
|
180 |
|
181 |
-
ex = gr.Examples(examples=examples, fn=infer, inputs=[text,
|
182 |
ex.dataset.headers = [""]
|
183 |
|
184 |
-
text.submit(infer, inputs=[text,
|
185 |
-
btn.click(infer, inputs=[text,
|
186 |
|
187 |
block.launch()
|
188 |
# block.queue(default_enabled=False).launch(share=False)
|
|
|
178 |
image_2_label = gr.Markdown("FreeU")
|
179 |
|
180 |
|
181 |
+
ex = gr.Examples(examples=examples, fn=infer, inputs=[text, pip, seed, b1, b2, s1, s2], outputs=[image_1, image_2], cache_examples=False)
|
182 |
ex.dataset.headers = [""]
|
183 |
|
184 |
+
text.submit(infer, inputs=[text, pip, seed, b1, b2, s1, s2], outputs=[image_1, image_2])
|
185 |
+
btn.click(infer, inputs=[text, pip, seed, b1, b2, s1, s2], outputs=[image_1, image_2])
|
186 |
|
187 |
block.launch()
|
188 |
# block.queue(default_enabled=False).launch(share=False)
|