Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -91,23 +91,23 @@ with gr.Blocks(css=Css) as demo:
|
|
91 |
|
92 |
with gr.Row():
|
93 |
with gr.Column():
|
94 |
-
input_image = gr.Image(type="pil", label="Upload")
|
95 |
input_text = gr.Textbox(label="input your question")
|
96 |
with gr.Row():
|
97 |
with gr.Column():
|
98 |
-
clear_btn = gr.ClearButton([
|
99 |
with gr.Column():
|
100 |
submit_btn = gr.Button("Submit", variant="primary")
|
101 |
|
102 |
-
gr.Examples(
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
)
|
111 |
with gr.Column():
|
112 |
output_text = gr.Markdown(
|
113 |
label="Generated Response",
|
|
|
91 |
|
92 |
with gr.Row():
|
93 |
with gr.Column():
|
94 |
+
input_image = gr.Image(type="pil", label="Upload")
|
95 |
input_text = gr.Textbox(label="input your question")
|
96 |
with gr.Row():
|
97 |
with gr.Column():
|
98 |
+
clear_btn = gr.ClearButton([input_image, input_text])
|
99 |
with gr.Column():
|
100 |
submit_btn = gr.Button("Submit", variant="primary")
|
101 |
|
102 |
+
# gr.Examples(
|
103 |
+
# examples=[
|
104 |
+
# ["20250208-205626.jpeg", "How many plums (see the picture) weigh as much as an apple?"],
|
105 |
+
# ["38.jpg", "Each of the digits 2, 3, 4 and 5 will be placed in a square. Then there will be two numbers, which will be added together. What is the biggest number that they could make?"],
|
106 |
+
# ["64.jpg", "Four of the numbers 1,3,4,5 and 7 are written into the boxes so that the calculation is correct.\nWhich number was not used?"],
|
107 |
+
# ],
|
108 |
+
# inputs=[input_image[0], input_text],
|
109 |
+
# label="Example Inputs"
|
110 |
+
# )
|
111 |
with gr.Column():
|
112 |
output_text = gr.Markdown(
|
113 |
label="Generated Response",
|