Update app.py
Browse files
app.py
CHANGED
|
@@ -49,7 +49,7 @@ def run_infrence(input_image,input_audio):
|
|
| 49 |
|
| 50 |
def run():
|
| 51 |
with gr.Blocks(css=".gradio-container {background-color: lightgray} #radio_div {background-color: #FFD8B4; font-size: 40px;} h3,h1,h2,p {color: black;}") as demo:
|
| 52 |
-
gr.Markdown("<p style='text-align: left;font-size:18px'>"+ "
|
| 53 |
with gr.Group():
|
| 54 |
with gr.Row():
|
| 55 |
input_image = gr.Image(label="Input Image")
|
|
@@ -57,15 +57,6 @@ def run():
|
|
| 57 |
video_out = gr.Video(show_label=True,label="Output")
|
| 58 |
with gr.Row():
|
| 59 |
btn = gr.Button("Generate")
|
| 60 |
-
gr.Markdown("<h1 style='text-align: center;'>"+ "Demo Inputs and Output" + "</h1>")
|
| 61 |
-
with gr.Row():
|
| 62 |
-
gr.Image("sample/spark.png",label="Input Image")
|
| 63 |
-
gr.Audio("sample/spark_1.1.mp3",label="Input Audio")
|
| 64 |
-
gr.Video("sample/final_output.mp4",label="Output")
|
| 65 |
-
|
| 66 |
-
gr.Markdown("""<p style='text-align: center;'>Feel free to give us your thoughts on this demo and please contact us at
|
| 67 |
-
<a href="mailto:letstalk@pragnakalp.com" target="_blank">letstalk@pragnakalp.com</a>
|
| 68 |
-
</p><p style='text-align: center;'>Developed by: <a href="https://www.pragnakalp.com" target="_blank">Pragnakalp Techlabs</a></p>""")
|
| 69 |
|
| 70 |
btn.click(run_infrence,inputs=[input_image,input_audio], outputs=[video_out])
|
| 71 |
demo.queue()
|
|
|
|
| 49 |
|
| 50 |
def run():
|
| 51 |
with gr.Blocks(css=".gradio-container {background-color: lightgray} #radio_div {background-color: #FFD8B4; font-size: 40px;} h3,h1,h2,p {color: black;}") as demo:
|
| 52 |
+
gr.Markdown("<p style='text-align: left;font-size:18px'>"+ "It's like having a magic tool for making videos. You put in a picture and audio, and it creates a video, it's super easy – just upload your picture and audio, and click 'generate'! You've got a cool video" + "</p>")
|
| 53 |
with gr.Group():
|
| 54 |
with gr.Row():
|
| 55 |
input_image = gr.Image(label="Input Image")
|
|
|
|
| 57 |
video_out = gr.Video(show_label=True,label="Output")
|
| 58 |
with gr.Row():
|
| 59 |
btn = gr.Button("Generate")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 60 |
|
| 61 |
btn.click(run_infrence,inputs=[input_image,input_audio], outputs=[video_out])
|
| 62 |
demo.queue()
|