3v324v23 commited on
Commit
9555419
·
1 Parent(s): daaeae3

Add examples

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