ziwaixian009 commited on
Commit
d53bb63
·
verified ·
1 Parent(s): ded79ec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -113,7 +113,7 @@ iface = gr.Interface(
113
  fn=gradio_interface, # 处理函数
114
  inputs=gr.Image(label="Upload Image or Enter Image URL", type="filepath"), # 输入组件
115
  outputs=gr.Textbox(label="Generated Caption (Translated to Chinese)"), # 输出组件
116
- title="Florence-2 Prompt Generation", # 标题
117
  description="Generate detailed captions for images using Florence-2 model and translate them to Chinese. You can upload an image or provide an image URL.", # 描述
118
  examples=[
119
  ["https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers/tasks/car.jpg?download=true"]
 
113
  fn=gradio_interface, # 处理函数
114
  inputs=gr.Image(label="Upload Image or Enter Image URL", type="filepath"), # 输入组件
115
  outputs=gr.Textbox(label="Generated Caption (Translated to Chinese)"), # 输出组件
116
+ title="紫外线", # 标题
117
  description="Generate detailed captions for images using Florence-2 model and translate them to Chinese. You can upload an image or provide an image URL.", # 描述
118
  examples=[
119
  ["https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers/tasks/car.jpg?download=true"]