Spaces:
Runtime error
Runtime error
Commit ·
dba5125
1
Parent(s): 65e4b6d
fix: image path
Browse files
app.py
CHANGED
|
@@ -63,11 +63,17 @@ with gr.Blocks(theme="Zarkel/IBM_Carbon_Theme") as demo:
|
|
| 63 |
)
|
| 64 |
with gr.Row():
|
| 65 |
input_img = gr.Image(
|
| 66 |
-
"./
|
|
|
|
|
|
|
|
|
|
| 67 |
)
|
| 68 |
with gr.Group():
|
| 69 |
output_img = gr.Image(
|
| 70 |
-
"./
|
|
|
|
|
|
|
|
|
|
| 71 |
)
|
| 72 |
btn = gr.Button(value="Reset") # Bouton de réinitialisation
|
| 73 |
with gr.Row(variant="panel"):
|
|
|
|
| 63 |
)
|
| 64 |
with gr.Row():
|
| 65 |
input_img = gr.Image(
|
| 66 |
+
"https://img.freepik.com/photos-gratuite/bouchent-portrait-beau-chat_23-2149214419.jpg?t=st=1728653358~exp=1728656958~hmac=ccd5ca63c11d3fe802cf8072f2426415fd25fbc241776b3acf8d1559056185ea&w=740",
|
| 67 |
+
label="Original image",
|
| 68 |
+
scale=1,
|
| 69 |
+
interactive=True,
|
| 70 |
)
|
| 71 |
with gr.Group():
|
| 72 |
output_img = gr.Image(
|
| 73 |
+
"https://img.freepik.com/photos-gratuite/bouchent-portrait-beau-chat_23-2149214419.jpg?t=st=1728653358~exp=1728656958~hmac=ccd5ca63c11d3fe802cf8072f2426415fd25fbc241776b3acf8d1559056185ea&w=740",
|
| 74 |
+
label="Transformed image",
|
| 75 |
+
scale=2,
|
| 76 |
+
interactive=False,
|
| 77 |
)
|
| 78 |
btn = gr.Button(value="Reset") # Bouton de réinitialisation
|
| 79 |
with gr.Row(variant="panel"):
|