Spaces:
Running
Running
Commit
•
83b96ee
1
Parent(s):
a61e3cd
Update app.py
Browse files
app.py
CHANGED
@@ -7,10 +7,7 @@ import time
|
|
7 |
import tempfile
|
8 |
from huggingface_hub import InferenceClient
|
9 |
|
10 |
-
DESCRIPTION = """
|
11 |
-
### <center>Rabbit’s Little Walkie-Talkie 🥤
|
12 |
-
### <center>Voice 2 Voice Coming Soon 🚧 </center>
|
13 |
-
"""
|
14 |
|
15 |
client = InferenceClient("mistralai/Mixtral-8x7B-Instruct-v0.1")
|
16 |
|
@@ -38,7 +35,7 @@ async def generate(prompt):
|
|
38 |
await communicate.save(tmp_path)
|
39 |
yield tmp_path
|
40 |
|
41 |
-
with gr.Blocks(css="style.css") as demo:
|
42 |
gr.Markdown(DESCRIPTION)
|
43 |
with gr.Row():
|
44 |
user_input = gr.Textbox(label="Prompt")
|
|
|
7 |
import tempfile
|
8 |
from huggingface_hub import InferenceClient
|
9 |
|
10 |
+
DESCRIPTION = """ """
|
|
|
|
|
|
|
11 |
|
12 |
client = InferenceClient("mistralai/Mixtral-8x7B-Instruct-v0.1")
|
13 |
|
|
|
35 |
await communicate.save(tmp_path)
|
36 |
yield tmp_path
|
37 |
|
38 |
+
with gr.Blocks(css="style.css", theme="xiaobaiyuan/theme_brief") as demo:
|
39 |
gr.Markdown(DESCRIPTION)
|
40 |
with gr.Row():
|
41 |
user_input = gr.Textbox(label="Prompt")
|