Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ def analyze_image(image):
|
|
19 |
)
|
20 |
|
21 |
# 格式化输出
|
22 |
-
return f"图片描述:{
|
23 |
|
24 |
# 创建 Gradio 界面
|
25 |
demo = gr.Interface(
|
|
|
19 |
)
|
20 |
|
21 |
# 格式化输出
|
22 |
+
return f"图片描述:{zh_result}\n关键字:{', '.join(keywords)}\n" # 第三行为空行保持格式
|
23 |
|
24 |
# 创建 Gradio 界面
|
25 |
demo = gr.Interface(
|