hsienchen commited on
Commit
2e08440
1 Parent(s): 8c29b70

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -10
app.py CHANGED
@@ -92,17 +92,16 @@ def sentence_builder(animal, place):
92
 
93
  with gr.Blocks(theme='snehilsanyal/scikit-learn') as app1:
94
  with gr.Column():
95
- outputbox = gr.Textbox(label="here are the plans...")
96
  image_box = gr.Image(type="filepath")
97
-
98
- btn = gr.Button("Make a Plan")
99
- clicked = btn.click(app1_query,
100
- [image_box],
101
- outputbox
102
- ).then(app1_response,
103
- [image_box],
104
- outputbox
105
- )
106
  gr.Markdown("""
107
  # Make a Plan #
108
 
 
92
 
93
  with gr.Blocks(theme='snehilsanyal/scikit-learn') as app1:
94
  with gr.Column():
 
95
  image_box = gr.Image(type="filepath")
96
+ btn = gr.Button("Make a Plan")
97
+ clicked = btn.click(app1_query,
98
+ [image_box],
99
+ outputbox
100
+ ).then(app1_response,
101
+ [image_box],
102
+ outputbox
103
+ )
104
+ outputbox = gr.Textbox(label="here are the plans...")
105
  gr.Markdown("""
106
  # Make a Plan #
107