Spaces:
Runtime error
Runtime error
NimaBoscarino
commited on
Commit
·
4b98f56
1
Parent(s):
1f70f33
show img
Browse files
app.py
CHANGED
@@ -33,7 +33,9 @@ def predict(place):
|
|
33 |
# Also if I refactor then I wouldn't have to read from the filesystem...
|
34 |
# I would like to show all three images
|
35 |
os.system('ls -R ./outputs')
|
36 |
-
|
|
|
|
|
37 |
|
38 |
|
39 |
gr.Interface(
|
|
|
33 |
# Also if I refactor then I wouldn't have to read from the filesystem...
|
34 |
# I would like to show all three images
|
35 |
os.system('ls -R ./outputs')
|
36 |
+
|
37 |
+
out_img = Image.open("./outputs/loc_image_flood_640.png")
|
38 |
+
return out_img # I actually want to return all 3 images.
|
39 |
|
40 |
|
41 |
gr.Interface(
|