changxin commited on
Commit
083a633
·
1 Parent(s): 696b830

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -116,7 +116,7 @@ with demo:
116
  ocr_input=[gr.Image(type='file', label='请提供你需要识别的照片'),gr.Dropdown(choices=['中文','英文','法文','德文','韩文','日文'], type="value", default='中文', label='请选择需要识别的语言')]
117
  ocr_output=gr.Image(type='file', label='识别结果')
118
  ocr_button = gr.Button("开始ocr识别")
119
- with gr.TabItem("风格迁移"):
120
  qy_input=gr.Image(type="pil",label="请选择需要风格迁移的照片",show_label=True)
121
  qy_output=gr.Image(type="pil",label="输出迁移风格结果",show_label=True)
122
  qy_button = gr.Button("开始调用模型")
 
116
  ocr_input=[gr.Image(type='file', label='请提供你需要识别的照片'),gr.Dropdown(choices=['中文','英文','法文','德文','韩文','日文'], type="value", default='中文', label='请选择需要识别的语言')]
117
  ocr_output=gr.Image(type='file', label='识别结果')
118
  ocr_button = gr.Button("开始ocr识别")
119
+ with gr.TabItem("风格迁移"):
120
  qy_input=gr.Image(type="pil",label="请选择需要风格迁移的照片",show_label=True)
121
  qy_output=gr.Image(type="pil",label="输出迁移风格结果",show_label=True)
122
  qy_button = gr.Button("开始调用模型")