vettorazi commited on
Commit
8e38f33
1 Parent(s): 0632471

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -22,7 +22,9 @@ def greet(name, image):
22
  subprocess.run(command, shell=True)
23
 
24
  # Return the output video as a gradio Image object
25
- return gr.outputs.Video(file_path=output_path), ""
 
26
 
27
  iface = gr.Interface(fn=greet, inputs=["text", gr.inputs.Image(type="pil")], outputs=["video", "text"])
28
- iface.launch()
 
 
22
  subprocess.run(command, shell=True)
23
 
24
  # Return the output video as a gradio Image object
25
+ #return gr.outputs.Video(file_path=output_path), ""
26
+ return output_path, ""
27
 
28
  iface = gr.Interface(fn=greet, inputs=["text", gr.inputs.Image(type="pil")], outputs=["video", "text"])
29
+ iface.launch(share=True)
30
+