fffiloni commited on
Commit
fe6d862
1 Parent(s): 56a7f5f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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():