Update app.py
Browse files
app.py
CHANGED
@@ -15,6 +15,10 @@ tts = gr.Interface.load(name="spaces/Flux9665/IMS-Toucan")
|
|
15 |
talking_face = gr.Blocks.load(name="spaces/fffiloni/one-shot-talking-face", api_key=token)
|
16 |
|
17 |
def infer(audio, openai_api_key, progress=gr.Progress()):
|
|
|
|
|
|
|
|
|
18 |
|
19 |
whisper_result = whisper(audio, None, "translate", fn_index=0)
|
20 |
|
|
|
15 |
talking_face = gr.Blocks.load(name="spaces/fffiloni/one-shot-talking-face", api_key=token)
|
16 |
|
17 |
def infer(audio, openai_api_key, progress=gr.Progress()):
|
18 |
+
|
19 |
+
imgs = [None] * 24
|
20 |
+
for img in progress.tqdm(imgs, desc="Loading from list"):
|
21 |
+
time.sleep(0.1)
|
22 |
|
23 |
whisper_result = whisper(audio, None, "translate", fn_index=0)
|
24 |
|