Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -86,7 +86,7 @@ with gr.Blocks() as demo:
|
|
| 86 |
with gr.Row():
|
| 87 |
with gr.Column():
|
| 88 |
image_input = gr.Image(type="numpy", label="Upload Image")
|
| 89 |
-
text_prompt = gr.Textbox(label="Prompt",
|
| 90 |
submit_button = gr.Button("Generate Response")
|
| 91 |
with gr.Column():
|
| 92 |
output_text = gr.Textbox(label="Model Output", lines=10, interactive=False)
|
|
|
|
| 86 |
with gr.Row():
|
| 87 |
with gr.Column():
|
| 88 |
image_input = gr.Image(type="numpy", label="Upload Image")
|
| 89 |
+
text_prompt = gr.Textbox(label="Prompt", value="Question:\n此图片有包裹吗?\nOptions:\nA. 有包裹.\nB. 没有包裹(地毯,消防栓等).\nPlease select the correct answer from the options above.")
|
| 90 |
submit_button = gr.Button("Generate Response")
|
| 91 |
with gr.Column():
|
| 92 |
output_text = gr.Textbox(label="Model Output", lines=10, interactive=False)
|