Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ def infer(prompt,image):
|
|
15 |
fn_index=0)
|
16 |
|
17 |
print(result)
|
18 |
-
return result[0]
|
19 |
|
20 |
with gr.Blocks() as demo:
|
21 |
with gr.Column():
|
|
|
15 |
fn_index=0)
|
16 |
|
17 |
print(result)
|
18 |
+
return [os.path.join(result[0], img) for img in os.listdir(result[0])]
|
19 |
|
20 |
with gr.Blocks() as demo:
|
21 |
with gr.Column():
|