Update app.py
Browse files
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 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
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 |
|