Spaces:
Runtime error
Runtime error
mejor UI3
Browse files
app.py
CHANGED
|
@@ -45,11 +45,11 @@ with gr.Blocks(css=css) as demo:
|
|
| 45 |
|
| 46 |
with gr.TabItem("Image URL"):
|
| 47 |
with gr.Row():
|
| 48 |
-
|
| 49 |
img_output_from_url = gr.Image(shape=(650,650))
|
| 50 |
|
| 51 |
with gr.Row():
|
| 52 |
-
example_url = gr.Dataset(components=[url_input],samples=[[str(url)] for url in urls])
|
| 53 |
text_button = gr.Button("Detect")
|
| 54 |
|
| 55 |
|
|
|
|
| 45 |
|
| 46 |
with gr.TabItem("Image URL"):
|
| 47 |
with gr.Row():
|
| 48 |
+
url_input = gr.Textbox(lines=2, label='Enter valid image URL here..')
|
| 49 |
img_output_from_url = gr.Image(shape=(650,650))
|
| 50 |
|
| 51 |
with gr.Row():
|
| 52 |
+
example_url = gr.Dataset(components=[url_input], samples=[[str(url)] for url in urls])
|
| 53 |
text_button = gr.Button("Detect")
|
| 54 |
|
| 55 |
|