pratikshahp commited on
Commit
34441ec
·
verified ·
1 Parent(s): 7602259

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -8
app.py CHANGED
@@ -1,16 +1,10 @@
1
  from huggingface_hub import hf_hub_download
2
  import gradio as gr, subprocess, os
3
 
4
- # Set your space repo ID and checkpoint path
5
- REPO_ID = "pratikshahp/AI-Powered-Video-Generator"
6
- CHECKPOINT = "Wav2Lip/checkpoints/wav2lip.pth"
7
 
8
  # Download checkpoint once at startup
9
- ckpt = hf_hub_download(
10
- repo_id=REPO_ID,
11
- filename=CHECKPOINT,
12
- repo_type="space"
13
- )
14
 
15
  def generate(script, mic_path, video_path):
16
  if not (script and mic_path and video_path):
 
1
  from huggingface_hub import hf_hub_download
2
  import gradio as gr, subprocess, os
3
 
 
 
 
4
 
5
  # Download checkpoint once at startup
6
+ ckpt = "Wav2Lip/checkpoints/wav2lip.pth"
7
+
 
 
 
8
 
9
  def generate(script, mic_path, video_path):
10
  if not (script and mic_path and video_path):