Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -208,8 +208,6 @@ with gr.Blocks(theme="Nymbo/Nymbo_Theme", css=css) as demo:
|
|
208 |
|
209 |
refresh_btn.click(fn=update_gallery, inputs=None, outputs=gallery_html)
|
210 |
demo.load(fn=update_gallery, inputs=None, outputs=gallery_html)
|
211 |
-
|
212 |
-
|
213 |
|
214 |
input_text.submit(
|
215 |
fn=respond,
|
@@ -218,8 +216,10 @@ with gr.Blocks(theme="Nymbo/Nymbo_Theme", css=css) as demo:
|
|
218 |
).then(
|
219 |
fn=update_gallery,
|
220 |
inputs=None,
|
221 |
-
outputs=
|
222 |
)
|
223 |
|
|
|
|
|
224 |
if __name__ == "__main__":
|
225 |
demo.launch()
|
|
|
208 |
|
209 |
refresh_btn.click(fn=update_gallery, inputs=None, outputs=gallery_html)
|
210 |
demo.load(fn=update_gallery, inputs=None, outputs=gallery_html)
|
|
|
|
|
211 |
|
212 |
input_text.submit(
|
213 |
fn=respond,
|
|
|
216 |
).then(
|
217 |
fn=update_gallery,
|
218 |
inputs=None,
|
219 |
+
outputs=gallery_html # 여기를 gallery_html로 변경
|
220 |
)
|
221 |
|
222 |
+
|
223 |
+
|
224 |
if __name__ == "__main__":
|
225 |
demo.launch()
|