Spaces:
Running
on
Zero
Running
on
Zero
alex
commited on
Commit
·
33b7c62
1
Parent(s):
c20d00d
clean up
Browse files
app.py
CHANGED
|
@@ -816,6 +816,14 @@ with gr.Blocks(css=css) as demo:
|
|
| 816 |
[model]
|
| 817 |
</a>
|
| 818 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 819 |
<div style="text-align: left;">
|
| 820 |
<strong>HF Space by:</strong>
|
| 821 |
<a href="https://huggingface.co/alexnasa" style="display: inline-block; vertical-align: middle; margin-left: 0.5em;">
|
|
@@ -823,15 +831,6 @@ with gr.Blocks(css=css) as demo:
|
|
| 823 |
</a>
|
| 824 |
<a href="https://www.buymeacoffee.com/outofai" style="display: inline-block; vertical-align: middle; margin-left: 0.5em;" target="_blank"><img src="https://img.shields.io/badge/-buy_me_a%C2%A0coffee-red?logo=buy-me-a-coffee" alt="Buy Me A Coffee"></a>
|
| 825 |
</div>
|
| 826 |
-
<div style="text-align: left;">
|
| 827 |
-
<p style="font-size:16px; display: inline; margin: 0;">
|
| 828 |
-
For a fast clay variation please check out this HF Space:
|
| 829 |
-
</p>
|
| 830 |
-
<a href="https://huggingface.co/spaces/alexnasa/OmniAvatar-Clay-Fast" style="display: inline-block; vertical-align: middle; margin-left: 0.5em;">
|
| 831 |
-
<img src="https://img.shields.io/badge/🤗-HF Demo-yellow.svg">
|
| 832 |
-
</a>
|
| 833 |
-
|
| 834 |
-
</div>
|
| 835 |
|
| 836 |
"""
|
| 837 |
)
|
|
@@ -842,15 +841,13 @@ with gr.Blocks(css=css) as demo:
|
|
| 842 |
|
| 843 |
image_input = extendedimage(label="Reference Image", type="filepath", height=512)
|
| 844 |
audio_input = ExtendedAudio(label="Input Audio", type="filepath", options=["Person1", "Person2"], show_download_button=True)
|
| 845 |
-
gr.Markdown("*A 5-second limit is applied to audio files to shorten generation time. You can turn this off in Advanced Settings*")
|
| 846 |
-
|
| 847 |
|
| 848 |
with gr.Column():
|
| 849 |
|
| 850 |
output_video = gr.Video(label="Avatar", height=512)
|
| 851 |
num_steps = gr.Slider(4, 50, value=8, step=1, label="Steps")
|
| 852 |
|
| 853 |
-
time_required = gr.Text(value="⌚ Zero GPU Required: --", show_label=False)
|
| 854 |
infer_btn = gr.Button("🦜 Avatar Me", variant='primary', elem_classes="button-gradient")
|
| 855 |
with gr.Accordion("Advanced Settings", open=False):
|
| 856 |
raw_img_text = gr.Text(show_label=False, label="", value='', visible=False)
|
|
|
|
| 816 |
[model]
|
| 817 |
</a>
|
| 818 |
</div>
|
| 819 |
+
<div style="text-align: left;">
|
| 820 |
+
<p style="font-size:16px; display: inline; margin: 0;">
|
| 821 |
+
<strong>Supertonic</strong> – Lightning Fast, On-Device TTS
|
| 822 |
+
</p>
|
| 823 |
+
<a href="https://huggingface.co/Supertone/supertonic" style="display: inline-block; vertical-align: middle; margin-left: 0.5em;">
|
| 824 |
+
[model]
|
| 825 |
+
</a>
|
| 826 |
+
</div>
|
| 827 |
<div style="text-align: left;">
|
| 828 |
<strong>HF Space by:</strong>
|
| 829 |
<a href="https://huggingface.co/alexnasa" style="display: inline-block; vertical-align: middle; margin-left: 0.5em;">
|
|
|
|
| 831 |
</a>
|
| 832 |
<a href="https://www.buymeacoffee.com/outofai" style="display: inline-block; vertical-align: middle; margin-left: 0.5em;" target="_blank"><img src="https://img.shields.io/badge/-buy_me_a%C2%A0coffee-red?logo=buy-me-a-coffee" alt="Buy Me A Coffee"></a>
|
| 833 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 834 |
|
| 835 |
"""
|
| 836 |
)
|
|
|
|
| 841 |
|
| 842 |
image_input = extendedimage(label="Reference Image", type="filepath", height=512)
|
| 843 |
audio_input = ExtendedAudio(label="Input Audio", type="filepath", options=["Person1", "Person2"], show_download_button=True)
|
|
|
|
|
|
|
| 844 |
|
| 845 |
with gr.Column():
|
| 846 |
|
| 847 |
output_video = gr.Video(label="Avatar", height=512)
|
| 848 |
num_steps = gr.Slider(4, 50, value=8, step=1, label="Steps")
|
| 849 |
|
| 850 |
+
time_required = gr.Text(value="⌚ Zero GPU Required: --", show_label=False, visible=False)
|
| 851 |
infer_btn = gr.Button("🦜 Avatar Me", variant='primary', elem_classes="button-gradient")
|
| 852 |
with gr.Accordion("Advanced Settings", open=False):
|
| 853 |
raw_img_text = gr.Text(show_label=False, label="", value='', visible=False)
|