Add examples
Browse files
app.py
CHANGED
@@ -113,6 +113,7 @@ iface = gr.Interface(
|
|
113 |
gr.Number(label="Run for (in seconds)"),
|
114 |
],
|
115 |
outputs="video",
|
|
|
116 |
)
|
117 |
|
118 |
if __name__ == "__main__":
|
@@ -130,4 +131,4 @@ if __name__ == "__main__":
|
|
130 |
os.chdir(
|
131 |
output_dir
|
132 |
) # change working directory to output_dir because the hf spaces model has no option to specify output directory ¯\_(ツ)_/¯
|
133 |
-
iface.launch()
|
|
|
113 |
gr.Number(label="Run for (in seconds)"),
|
114 |
],
|
115 |
outputs="video",
|
116 |
+
examples = [["A podcast clip", None, "https://open.spotify.com/episode/31u9tI8t5IFrdv3QhZtPHI",50,60]]
|
117 |
)
|
118 |
|
119 |
if __name__ == "__main__":
|
|
|
131 |
os.chdir(
|
132 |
output_dir
|
133 |
) # change working directory to output_dir because the hf spaces model has no option to specify output directory ¯\_(ツ)_/¯
|
134 |
+
iface.launch(share=True)
|