Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -12,12 +12,12 @@ def transcribe_video(d_id_key: str, elv_key: str, full_text: str):
|
|
12 |
return segments
|
13 |
|
14 |
examples = [["abcdefghijkadadasdasdasdasdasddad", "abcdefghijkadadasdasdasdasdasddad","Good morning, it's great to see you! I hope you're having a wonderful day. I just wanted to say thank you for taking the time to speak with me. Is there anything new or exciting happening in your life? I'd love to hear about it. Let's catch up soon!",
|
15 |
-
"./hero.webp"]
|
16 |
demo = gr.Interface(fn=transcribe_video, inputs=[
|
17 |
gr.Textbox(label="D-Id API Key",placeholder="Paste your D-Id",type='password'),
|
18 |
gr.Textbox(label="Elevenlabs API Keys",placeholder="Paste Elevenlabs",type='password'),
|
19 |
gr.Textbox(lines=4, label=" Please input the text you wish to generate in order to make the photo speak.", placeholder="English Text here"),
|
20 |
gr.Image(label="Upload a photo of a face here, and generate a talking animation.", type="pil")
|
21 |
-
], outputs="text",title="Bring your images to life with the talking animation feature now!")
|
22 |
|
23 |
demo.launch()
|
|
|
12 |
return segments
|
13 |
|
14 |
examples = [["abcdefghijkadadasdasdasdasdasddad", "abcdefghijkadadasdasdasdasdasddad","Good morning, it's great to see you! I hope you're having a wonderful day. I just wanted to say thank you for taking the time to speak with me. Is there anything new or exciting happening in your life? I'd love to hear about it. Let's catch up soon!",
|
15 |
+
"./hero.webp"]]
|
16 |
demo = gr.Interface(fn=transcribe_video, inputs=[
|
17 |
gr.Textbox(label="D-Id API Key",placeholder="Paste your D-Id",type='password'),
|
18 |
gr.Textbox(label="Elevenlabs API Keys",placeholder="Paste Elevenlabs",type='password'),
|
19 |
gr.Textbox(lines=4, label=" Please input the text you wish to generate in order to make the photo speak.", placeholder="English Text here"),
|
20 |
gr.Image(label="Upload a photo of a face here, and generate a talking animation.", type="pil")
|
21 |
+
], outputs="text",title="Bring your images to life with the talking animation feature now!",examples=examples)
|
22 |
|
23 |
demo.launch()
|