Spaces:
Sleeping
Sleeping
File size: 1,196 Bytes
4af4e17 61866ad 6c4f574 4af4e17 231e298 e53c5ed 4af4e17 6c4f574 c68830c e53c5ed 4af4e17 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
import pathlib
import uuid
import os
import gradio as gr
from tqdm import tqdm
def transcribe_video(d_id_key: str, elv_key: str, full_text: str,img):
print("Test")
segments="Work In Progress"
return segments
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!",
"./hero.webp"]]
demo = gr.Interface(fn=transcribe_video, inputs=[
gr.Textbox(label="D-Id API Key",placeholder="Paste your D-Id",type='password'),
gr.Textbox(label="Elevenlabs API Keys",placeholder="Paste Elevenlabs",type='password'),
gr.Textbox(lines=4, label=" Please input the text you wish to generate in order to make the photo speak.", placeholder="English Text here"),
gr.Image(label="Upload a photo of a face here, and generate a talking animation.", type="pil")
], outputs="text",title="Bring your images to life with the talking animation feature now!",examples=examples)
demo.launch() |