atticus commited on
Commit
3405edf
1 Parent(s): 0550960

inputs image

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -141,7 +141,7 @@ if __name__ == "__main__":
141
  inputs=[
142
  gr.inputs.Radio([I2I, T2I]),
143
  gr.inputs.Radio([DDT, UEFDT, IEFDT, ViLT]),
144
- gr.inputs.Image(shape=(400, 400), label="Image to search", placeholder="拖入图像\n- 或 - \n点击上传", optional=True),
145
  gr.inputs.Textbox(
146
  lines=1, label="Text query", placeholder="请输入待查询文本...",
147
  ),
 
141
  inputs=[
142
  gr.inputs.Radio([I2I, T2I]),
143
  gr.inputs.Radio([DDT, UEFDT, IEFDT, ViLT]),
144
+ gr.inputs.Image(shape=(400, 400), label="Image to search", optional=True),
145
  gr.inputs.Textbox(
146
  lines=1, label="Text query", placeholder="请输入待查询文本...",
147
  ),