Spaces:
Sleeping
Sleeping
Update image2text.py
#4
by
Zhangjiahui960719
- opened
- image2text.py +1 -1
image2text.py
CHANGED
@@ -20,7 +20,7 @@ def explain_image(image: Image.Image):
|
|
20 |
|
21 |
# Gradio 介面
|
22 |
with gr.Blocks() as demo:
|
23 |
-
gr.Markdown("##
|
24 |
image_input = gr.Image(type="pil", label="上傳圖片")
|
25 |
explain_button = gr.Button("解釋圖片")
|
26 |
output_text = gr.Textbox(label="圖片說明", lines=5)
|
|
|
20 |
|
21 |
# Gradio 介面
|
22 |
with gr.Blocks() as demo:
|
23 |
+
gr.Markdown("## 🧠張家匯 Gemini 圖片智慧分析(圖 ➜ 文)")
|
24 |
image_input = gr.Image(type="pil", label="上傳圖片")
|
25 |
explain_button = gr.Button("解釋圖片")
|
26 |
output_text = gr.Textbox(label="圖片說明", lines=5)
|