Spaces:
Running
Running
mrbeliever
commited on
Commit
•
3bc0298
1
Parent(s):
97e7837
Update app.py
Browse files
app.py
CHANGED
@@ -7,14 +7,10 @@ import time
|
|
7 |
import tempfile
|
8 |
from huggingface_hub import InferenceClient
|
9 |
|
10 |
-
DESCRIPTION = """
|
11 |
-
### <center>A personal Assistant of Tony Stark for YOU
|
12 |
-
### <center>Currently It supports text input, But If this space completes 1k hearts than I starts working on Audio Input.</center>
|
13 |
"""
|
14 |
|
15 |
-
MORE = """
|
16 |
-
### Instant Video: Create Amazing Videos in 5 Second -> https://huggingface.co/spaces/KingNish/Instant-Video
|
17 |
-
### Instant Image: 4k images in 5 Second -> https://huggingface.co/spaces/KingNish/Instant-Image
|
18 |
"""
|
19 |
|
20 |
Fast = """## Fastest Model"""
|
@@ -102,9 +98,9 @@ async def generate3(prompt):
|
|
102 |
with gr.Blocks(css="style.css") as demo:
|
103 |
gr.Markdown(DESCRIPTION)
|
104 |
with gr.Row():
|
105 |
-
user_input = gr.Textbox(label="Prompt", value="
|
106 |
input_text = gr.Textbox(label="Input Text", elem_id="important")
|
107 |
-
output_audio = gr.Audio(label="
|
108 |
interactive=False,
|
109 |
autoplay=True,
|
110 |
elem_classes="audio")
|
|
|
7 |
import tempfile
|
8 |
from huggingface_hub import InferenceClient
|
9 |
|
10 |
+
DESCRIPTION = """
|
|
|
|
|
11 |
"""
|
12 |
|
13 |
+
MORE = """
|
|
|
|
|
14 |
"""
|
15 |
|
16 |
Fast = """## Fastest Model"""
|
|
|
98 |
with gr.Blocks(css="style.css") as demo:
|
99 |
gr.Markdown(DESCRIPTION)
|
100 |
with gr.Row():
|
101 |
+
user_input = gr.Textbox(label="Prompt", value="")
|
102 |
input_text = gr.Textbox(label="Input Text", elem_id="important")
|
103 |
+
output_audio = gr.Audio(label="Womener AI", type="filepath",
|
104 |
interactive=False,
|
105 |
autoplay=True,
|
106 |
elem_classes="audio")
|