Spaces:
Build error
Build error
inputs image
Browse files
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",
|
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 |
),
|