Spaces:
Paused
Paused
Update app.py
Browse files
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 |
+
|