hsienchen commited on
Commit
ac0e7b3
·
verified ·
1 Parent(s): ba9c0ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -6
app.py CHANGED
@@ -61,17 +61,14 @@ def app1_response(img):
61
 
62
  with gr.Blocks(theme='snehilsanyal/scikit-learn') as app1:
63
  with gr.Column():
64
- outputbox = gr.Textbox(label="here are the plans...")
65
  image_box = gr.Image(type="filepath")
 
66
 
67
  btn = gr.Button("Make a Plan")
68
- clicked = btn.click(app1_query,
69
- [image_box],
70
- outputbox
71
- ).then(app1_response,
72
  [image_box],
73
  outputbox
74
- )
75
  gr.Markdown("""
76
  # Make a Plan #
77
 
 
61
 
62
  with gr.Blocks(theme='snehilsanyal/scikit-learn') as app1:
63
  with gr.Column():
 
64
  image_box = gr.Image(type="filepath")
65
+ outputbox = gr.Textbox(label="here are the plans...")
66
 
67
  btn = gr.Button("Make a Plan")
68
+ clicked = btn.click(app1_response,
 
 
 
69
  [image_box],
70
  outputbox
71
+ )
72
  gr.Markdown("""
73
  # Make a Plan #
74