Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
import gradio
|
2 |
import edge_tts
|
3 |
import subprocess
|
4 |
|
@@ -36,7 +36,7 @@ async def text2video(TEXT, voice):
|
|
36 |
|
37 |
return VIDEO_FILE
|
38 |
|
39 |
-
|
40 |
fn=text2video,
|
41 |
inputs=["text", gr.Dropdown(VOICES, value="ml-IN-MidhunNeural")],
|
42 |
outputs="video",
|
|
|
1 |
+
import gradio as gr
|
2 |
import edge_tts
|
3 |
import subprocess
|
4 |
|
|
|
36 |
|
37 |
return VIDEO_FILE
|
38 |
|
39 |
+
gr.Interface(
|
40 |
fn=text2video,
|
41 |
inputs=["text", gr.Dropdown(VOICES, value="ml-IN-MidhunNeural")],
|
42 |
outputs="video",
|