hunyuan-t commited on
Commit
90da144
·
verified ·
1 Parent(s): 3331037

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -48,7 +48,9 @@ def generate_caption(image_path, question):
48
  yield full_response
49
 
50
  # 创建Gradio界面
51
- with gr.Blocks(title="腾讯混元图生文Demo") as demo:
 
 
52
  with gr.Row():
53
  with gr.Column():
54
  image_input = gr.Image(type="filepath", label="上传图片")
 
48
  yield full_response
49
 
50
  # 创建Gradio界面
51
+ title="hunyuan-vision图生文Demo"
52
+ with gr.Blocks(title=title) as demo:
53
+ gr.Markdown(f"# 🖼️ {title}")
54
  with gr.Row():
55
  with gr.Column():
56
  image_input = gr.Image(type="filepath", label="上传图片")