Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -318,15 +318,18 @@ with gr.Blocks(css="footer {visibility: hidden}") as demo:
|
|
318 |
with gr.Row():
|
319 |
with gr.Column(scale=1):
|
320 |
query_input = gr.Textbox(label="Your Query (including height)",
|
321 |
-
placeholder="e.g., I am 175cm tall",
|
322 |
-
gr.examples=[
|
323 |
-
"I am 182 cm tall",
|
324 |
-
"How tall am I compared to characters around 5ft 9in?",
|
325 |
-
"who is the same height as 1.7 meters",
|
326 |
-
"my height is 190cm",
|
327 |
-
"compare 6'1\" height",
|
328 |
-
]
|
329 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
330 |
submit_button = gr.Button("Compare Heights", variant="primary")
|
331 |
with gr.Column(scale=2):
|
332 |
# Keep the Textbox for the final answer separate
|
|
|
318 |
with gr.Row():
|
319 |
with gr.Column(scale=1):
|
320 |
query_input = gr.Textbox(label="Your Query (including height)",
|
321 |
+
placeholder="e.g., I am 175cm tall",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
322 |
)
|
323 |
+
gr.Examples(
|
324 |
+
examples=[
|
325 |
+
"I am 182 cm tall",
|
326 |
+
"How tall am I compared to characters around 5ft 9in?",
|
327 |
+
"who is the same height as 1.7 meters",
|
328 |
+
"my height is 190cm",
|
329 |
+
"compare 6'1\" height",
|
330 |
+
],
|
331 |
+
inputs=query_input # Link the examples to the query_input Textbox
|
332 |
+
)
|
333 |
submit_button = gr.Button("Compare Heights", variant="primary")
|
334 |
with gr.Column(scale=2):
|
335 |
# Keep the Textbox for the final answer separate
|