Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -122,7 +122,7 @@ with demo:
|
|
| 122 |
with gr.TabItem('Image URL'):
|
| 123 |
with gr.Row():
|
| 124 |
url_input = gr.Textbox(lines=2,label='Enter valid image URL here..')
|
| 125 |
-
img_output_from_url = gr.Image(shape=(
|
| 126 |
|
| 127 |
with gr.Row():
|
| 128 |
example_url = gr.Dataset(components=[url_input],samples=[[str(url)] for url in urls])
|
|
@@ -132,7 +132,7 @@ with demo:
|
|
| 132 |
with gr.TabItem('Image Upload'):
|
| 133 |
with gr.Row():
|
| 134 |
img_input = gr.Image(type='pil')
|
| 135 |
-
img_output_from_upload= gr.Image(shape=(
|
| 136 |
|
| 137 |
with gr.Row():
|
| 138 |
example_images = gr.Dataset(components=[img_input],
|
|
|
|
| 122 |
with gr.TabItem('Image URL'):
|
| 123 |
with gr.Row():
|
| 124 |
url_input = gr.Textbox(lines=2,label='Enter valid image URL here..')
|
| 125 |
+
img_output_from_url = gr.Image(shape=(650,650))
|
| 126 |
|
| 127 |
with gr.Row():
|
| 128 |
example_url = gr.Dataset(components=[url_input],samples=[[str(url)] for url in urls])
|
|
|
|
| 132 |
with gr.TabItem('Image Upload'):
|
| 133 |
with gr.Row():
|
| 134 |
img_input = gr.Image(type='pil')
|
| 135 |
+
img_output_from_upload= gr.Image(shape=(650,650))
|
| 136 |
|
| 137 |
with gr.Row():
|
| 138 |
example_images = gr.Dataset(components=[img_input],
|