Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -56,10 +56,10 @@ text = gr.Textbox(label="Paste an image URL")
|
|
| 56 |
png_file = gr.File(label="output png file")
|
| 57 |
|
| 58 |
|
| 59 |
-
chameleon = load_img("
|
| 60 |
|
| 61 |
url = "http://farm9.staticflickr.com/8488/8228323072_76eeddfea3_z.jpg"
|
| 62 |
-
|
| 63 |
tab1 = gr.Interface(
|
| 64 |
fn, inputs=image, outputs=slider1, examples=[chameleon], api_name="image"
|
| 65 |
)
|
|
|
|
| 56 |
png_file = gr.File(label="output png file")
|
| 57 |
|
| 58 |
|
| 59 |
+
chameleon = load_img("giraffe.jpg", output_type="pil")
|
| 60 |
|
| 61 |
url = "http://farm9.staticflickr.com/8488/8228323072_76eeddfea3_z.jpg"
|
| 62 |
+
|
| 63 |
tab1 = gr.Interface(
|
| 64 |
fn, inputs=image, outputs=slider1, examples=[chameleon], api_name="image"
|
| 65 |
)
|