Spaces:
Sleeping
Sleeping
HaochenGong commited on
Commit ·
ac599dd
1
Parent(s): 6d18241
test
Browse files
app.py
CHANGED
|
@@ -402,7 +402,7 @@ with gr.Blocks() as demo:
|
|
| 402 |
<label for="image-input">Step 2 : Upload the screenshot</label>
|
| 403 |
""")
|
| 404 |
|
| 405 |
-
image_input = gr.Image(type="pil", label="Screenshot Upload", elem_id="image_input")
|
| 406 |
|
| 407 |
gr.HTML("""
|
| 408 |
</div>
|
|
@@ -429,7 +429,7 @@ with gr.Blocks() as demo:
|
|
| 429 |
submit_button = gr.Button("Submit", elem_id="submit", visible=False)
|
| 430 |
|
| 431 |
text_input = gr.Textbox(label="URL Input for the Privacy Policy of the App", elem_id="text_input", visible=False)
|
| 432 |
-
|
| 433 |
result_image = gr.Image(type="pil", label="Result Screenshot", elem_id="image_output", visible=False)
|
| 434 |
|
| 435 |
# with gr.Row():
|
|
|
|
| 402 |
<label for="image-input">Step 2 : Upload the screenshot</label>
|
| 403 |
""")
|
| 404 |
|
| 405 |
+
# image_input = gr.Image(type="pil", label="Screenshot Upload", elem_id="image_input")
|
| 406 |
|
| 407 |
gr.HTML("""
|
| 408 |
</div>
|
|
|
|
| 429 |
submit_button = gr.Button("Submit", elem_id="submit", visible=False)
|
| 430 |
|
| 431 |
text_input = gr.Textbox(label="URL Input for the Privacy Policy of the App", elem_id="text_input", visible=False)
|
| 432 |
+
image_input = gr.Image(type="pil", label="Screenshot Upload", elem_id="image_input", visible=True)
|
| 433 |
result_image = gr.Image(type="pil", label="Result Screenshot", elem_id="image_output", visible=False)
|
| 434 |
|
| 435 |
# with gr.Row():
|