Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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="
|
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"]
|