Spaces:
Runtime error
Runtime error
Commit ·
7bf8498
1
Parent(s): 0c9bc10
jpeg
Browse files
app.py
CHANGED
|
@@ -56,7 +56,7 @@ url_input = gr.Textbox(label="Paste an image URL")
|
|
| 56 |
output_file = gr.File(label="Output PNG File")
|
| 57 |
|
| 58 |
# Example images
|
| 59 |
-
chameleon = load_img("butterfly.jpeg", output_type="pil")
|
| 60 |
url_example = "https://i.ibb.co/67B6Knk9/students-1807505-1280.jpg"
|
| 61 |
|
| 62 |
tab1 = gr.Interface(fn, inputs=image_upload, outputs=slider1, examples=[chameleon], api_name="image")
|
|
|
|
| 56 |
output_file = gr.File(label="Output PNG File")
|
| 57 |
|
| 58 |
# Example images
|
| 59 |
+
chameleon = load_img("butterfly.jpeg", output_type="pil")
|
| 60 |
url_example = "https://i.ibb.co/67B6Knk9/students-1807505-1280.jpg"
|
| 61 |
|
| 62 |
tab1 = gr.Interface(fn, inputs=image_upload, outputs=slider1, examples=[chameleon], api_name="image")
|