Update app.py
Browse filesModified Description and prompt
app.py
CHANGED
@@ -38,7 +38,7 @@ def randomize_seed_fn(seed: int) -> int:
|
|
38 |
return seed
|
39 |
|
40 |
system_instructions1 = """
|
41 |
-
[SYSTEM] Answer as
|
42 |
Keep conversation friendly, short, clear, and concise.
|
43 |
Avoid unnecessary introductions and answer the user's questions directly.
|
44 |
Respond in a normal, conversational manner while being friendly and helpful.
|
@@ -74,9 +74,8 @@ async def respond(audio, model, seed):
|
|
74 |
await communicate.save(tmp_path)
|
75 |
yield tmp_path
|
76 |
|
77 |
-
DESCRIPTION = """ # <center><b>
|
78 |
-
### <center>
|
79 |
-
### <center>Voice Chat with your personal Assistant</center>
|
80 |
"""
|
81 |
|
82 |
with gr.Blocks(css="style.css") as demo:
|
|
|
38 |
return seed
|
39 |
|
40 |
system_instructions1 = """
|
41 |
+
[SYSTEM] Answer as the ChatLABS lab assistant, developed by FallnAI.
|
42 |
Keep conversation friendly, short, clear, and concise.
|
43 |
Avoid unnecessary introductions and answer the user's questions directly.
|
44 |
Respond in a normal, conversational manner while being friendly and helpful.
|
|
|
74 |
await communicate.save(tmp_path)
|
75 |
yield tmp_path
|
76 |
|
77 |
+
DESCRIPTION = """ # <center><b>ChatLABS Voice Chat</b></center>
|
78 |
+
### <center>Your personal ChatLABS Assistant! </center>
|
|
|
79 |
"""
|
80 |
|
81 |
with gr.Blocks(css="style.css") as demo:
|