Update app.py
Browse files
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(
|
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 |
|