Spaces:
Runtime error
Runtime error
fixing the app os line to include the right path and adding extra dependencies.
Browse files- app.py +1 -2
- requirements.txt +3 -1
app.py
CHANGED
|
@@ -1,6 +1,5 @@
|
|
| 1 |
|
| 2 |
import os
|
| 3 |
-
from fastapi import FastAPI
|
| 4 |
import gradio as gr
|
| 5 |
from PIL import Image as im
|
| 6 |
from scipy.io.wavfile import write
|
|
@@ -19,7 +18,7 @@ def generateVideo(input_img, input_audio):
|
|
| 19 |
input_img = 'in_image.jpg'
|
| 20 |
input_audio = 'in_audio.wav'
|
| 21 |
|
| 22 |
-
os.system(f"python3 main_end2end.py --jpg {input_img}") #add image
|
| 23 |
|
| 24 |
video_name = 'MakeItTalk/examples/in_image_pred_fls_in_audio_audio_embed.mp4'
|
| 25 |
|
|
|
|
| 1 |
|
| 2 |
import os
|
|
|
|
| 3 |
import gradio as gr
|
| 4 |
from PIL import Image as im
|
| 5 |
from scipy.io.wavfile import write
|
|
|
|
| 18 |
input_img = 'in_image.jpg'
|
| 19 |
input_audio = 'in_audio.wav'
|
| 20 |
|
| 21 |
+
os.system(f"python3 MakeItTalk/main_end2end.py --jpg {input_img}") #add image
|
| 22 |
|
| 23 |
video_name = 'MakeItTalk/examples/in_image_pred_fls_in_audio_audio_embed.mp4'
|
| 24 |
|
requirements.txt
CHANGED
|
@@ -8,4 +8,6 @@ soundfile
|
|
| 8 |
librosa
|
| 9 |
pysptk
|
| 10 |
pyworld
|
| 11 |
-
resemblyzer
|
|
|
|
|
|
|
|
|
| 8 |
librosa
|
| 9 |
pysptk
|
| 10 |
pyworld
|
| 11 |
+
resemblyzer
|
| 12 |
+
scipy
|
| 13 |
+
gradio
|