Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -38,6 +38,8 @@ with gr.Blocks() as casa:
|
|
38 |
with gr.Tab("Recommendation"):
|
39 |
pass
|
40 |
|
|
|
|
|
41 |
|
42 |
# demo = gr.Interface(casa_ai_run,
|
43 |
# inputs = [gr.ImageEditor(sources='upload', brush=gr.Brush(colors=["#FFFFFF"]), elem_id="image_upload", type="pil", label="Upload", layers=False, eraser=True, transforms=[]),
|
|
|
38 |
with gr.Tab("Recommendation"):
|
39 |
pass
|
40 |
|
41 |
+
submit_btn.click(casa_ai_run, inputs=inputs, outputs=outputs)
|
42 |
+
|
43 |
|
44 |
# demo = gr.Interface(casa_ai_run,
|
45 |
# inputs = [gr.ImageEditor(sources='upload', brush=gr.Brush(colors=["#FFFFFF"]), elem_id="image_upload", type="pil", label="Upload", layers=False, eraser=True, transforms=[]),
|