Update app.py
Browse files
app.py
CHANGED
|
@@ -58,11 +58,11 @@ with gr.Blocks() as demo:
|
|
| 58 |
|
| 59 |
with gr.Row():
|
| 60 |
input1_text = gr.Textbox(label="Text Input 1", visible=True)
|
| 61 |
-
input1_image = gr.Image(type="numpy", label="Image Input 1", visible=False)
|
| 62 |
|
| 63 |
with gr.Row():
|
| 64 |
input2_text = gr.Textbox(label="Text Input 2", visible=False)
|
| 65 |
-
input2_image = gr.Image(type="numpy", label="Image Input 2", visible=True)
|
| 66 |
|
| 67 |
output = gr.Textbox(label="Similarity Score / Error", interactive=False)
|
| 68 |
|
|
|
|
| 58 |
|
| 59 |
with gr.Row():
|
| 60 |
input1_text = gr.Textbox(label="Text Input 1", visible=True)
|
| 61 |
+
input1_image = gr.Image(type="numpy", tool="editor", interactive=True, label="Image Input 1", visible=False)
|
| 62 |
|
| 63 |
with gr.Row():
|
| 64 |
input2_text = gr.Textbox(label="Text Input 2", visible=False)
|
| 65 |
+
input2_image = gr.Image(type="numpy", tool="editor", interactive=True, label="Image Input 2", visible=True)
|
| 66 |
|
| 67 |
output = gr.Textbox(label="Similarity Score / Error", interactive=False)
|
| 68 |
|