Update app.py
Browse files
app.py
CHANGED
@@ -196,4 +196,4 @@ with gr.Blocks(css=css,head=js,fill_height=True) as demo:
|
|
196 |
result.change(fn=lambda x:x, inputs=[prompt,result], outputs=[], js=f'''(p,img)=>window.uploadImage(p, img,"process_finished","demo_hf_{cfg.get("name")}_card", "finish")''')
|
197 |
|
198 |
if __name__ == "__main__":
|
199 |
-
demo.
|
|
|
196 |
result.change(fn=lambda x:x, inputs=[prompt,result], outputs=[], js=f'''(p,img)=>window.uploadImage(p, img,"process_finished","demo_hf_{cfg.get("name")}_card", "finish")''')
|
197 |
|
198 |
if __name__ == "__main__":
|
199 |
+
demo.launch(show_api=False, show_error=True)
|