Spaces:
Running
Running
release notes
Browse files
app.py
CHANGED
|
@@ -1,10 +1,28 @@
|
|
| 1 |
-
import
|
| 2 |
-
import os
|
| 3 |
|
| 4 |
-
|
| 5 |
-
USER = os.getenv("GITHUB_USER")
|
| 6 |
-
SLUG = os.getenv("GITHUB_SLUG")
|
| 7 |
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import gradio as gr
|
|
|
|
| 2 |
|
| 3 |
+
def launch_gradio() -> None:
|
|
|
|
|
|
|
| 4 |
|
| 5 |
+
HTML_instructions = """
|
| 6 |
+
<div style="width:80%;margin:auto;text-align:center;">
|
| 7 |
+
<h1 style="font-size:1.6em;">AI Avatar Podcast Generation</h1>
|
| 8 |
+
<div style="font-size:1.3em;">
|
| 9 |
+
We have officially launched podcast generation on our HeyGen Labs page.
|
| 10 |
+
<br>
|
| 11 |
+
Check it out here: <a href="https://labs.heygen.com/video-podcast?sid=hfvp">HeyGen Labs Video Podcast Generation</a>
|
| 12 |
+
<br>
|
| 13 |
+
<br>
|
| 14 |
+
Thank you to all the feedback and testing from the community.
|
| 15 |
+
</div>
|
| 16 |
+
</div>
|
| 17 |
+
"""
|
| 18 |
+
|
| 19 |
+
with gr.Blocks() as demo:
|
| 20 |
+
gr.HTML(HTML_instructions)
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
demo.queue()
|
| 24 |
+
demo.launch(share=True)
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
if __name__ == "__main__":
|
| 28 |
+
launch_gradio()
|