Spaces:
Runtime error
Runtime error
gorkemgoknar
commited on
Commit
•
a48b980
1
Parent(s):
95b3196
Update app.py
Browse files
app.py
CHANGED
@@ -198,7 +198,8 @@ def format_prompt_zephyr(message, history, system_message=system_message):
|
|
198 |
prompt += f"<|assistant|>\n{bot_response}</s>"
|
199 |
if message=="":
|
200 |
message="Hello"
|
201 |
-
prompt += f"<|user|>\n{message}
|
|
|
202 |
print(prompt)
|
203 |
return prompt
|
204 |
|
@@ -665,7 +666,7 @@ EXAMPLES = [
|
|
665 |
[[],"AI Beard The Pirate","Who are you?"],
|
666 |
]
|
667 |
|
668 |
-
MODELS = ["
|
669 |
|
670 |
OTHER_HTML=f"""<div>
|
671 |
<a style="display:inline-block" href='https://github.com/coqui-ai/TTS'><img src='https://img.shields.io/github/stars/coqui-ai/TTS?style=social' /></a>
|
|
|
198 |
prompt += f"<|assistant|>\n{bot_response}</s>"
|
199 |
if message=="":
|
200 |
message="Hello"
|
201 |
+
prompt += f"<|user|>\n{message}</s>"
|
202 |
+
prompt += f"<|assistant|>\n"
|
203 |
print(prompt)
|
204 |
return prompt
|
205 |
|
|
|
666 |
[[],"AI Beard The Pirate","Who are you?"],
|
667 |
]
|
668 |
|
669 |
+
MODELS = ["Mistral","Zephyr"]
|
670 |
|
671 |
OTHER_HTML=f"""<div>
|
672 |
<a style="display:inline-block" href='https://github.com/coqui-ai/TTS'><img src='https://img.shields.io/github/stars/coqui-ai/TTS?style=social' /></a>
|