schnik commited on
Commit
9cd7c6d
1 Parent(s): 037fd9b

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -19,14 +19,14 @@ def load_cached_video(video_file, dataset, lora, size):
19
 
20
  if not os.path.exists(output):
21
  print(output)
22
- raise gr.Error("This combination of video and model has not been cached. Please try one of the examples below instead.")
23
 
24
- gr.Warning("This interface is running on CPU. Only cached generated examples are displayed here, no new music is generated.")
25
  print("Displaying video: " + output)
26
  return output
27
 
28
  with gr.Blocks() as demo:
29
- gr.Markdown('**WARNING**: <span style="color:orange">Multiple video examples have to be downloaded first to use this UI properly. Please be patient, as they might take a moment to download.</span>')
30
  gr.Interface(fn=load_cached_video,
31
  inputs=[
32
  gr.Video(
 
19
 
20
  if not os.path.exists(output):
21
  print(output)
22
+ raise gr.Error("This combination of video and model has not been cached. Try one of the listed examples instead.")
23
 
24
+ gr.Warning("This interface is running on CPU. Only cached generated examples are displayed here, no new music is generated. Please be patient, as the videos might take a while to download.")
25
  print("Displaying video: " + output)
26
  return output
27
 
28
  with gr.Blocks() as demo:
29
+ gr.Markdown('**WARNING**: <span style="color:orange">Multiple video examples have to be downloaded to use this UI properly. Please be patient, as the videos might take a moment to download.</span>')
30
  gr.Interface(fn=load_cached_video,
31
  inputs=[
32
  gr.Video(