Sijuade commited on
Commit
f8ac765
1 Parent(s): 68e098f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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=[]),