zhangbaoxin commited on
Commit
606feba
·
verified ·
1 Parent(s): 532b1f6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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", placeholder="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)
 
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)