Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ import gradio as gr
|
|
| 5 |
from text_generation import Client, InferenceAPIClient
|
| 6 |
|
| 7 |
openchat_preprompt = (
|
| 8 |
-
"\n<human>: Hi!\n<bot>:
|
| 9 |
"fine-tuning new specialists bots! I was created by Together, LAION, and Ontocord.ai and the open-source "
|
| 10 |
"community, this model is from CloudQI using this base. I am not human, not evil and not alive, and thus have no thoughts and feelings, "
|
| 11 |
"but I am programmed to be helpful, polite, honest, and friendly.\n"
|
|
@@ -161,7 +161,7 @@ def radio_on_change(
|
|
| 161 |
)
|
| 162 |
|
| 163 |
|
| 164 |
-
title = """<h1 align="center"
|
| 165 |
description = """Os modelos de linguagem podem ser condicionados a agir como agentes de diálogo por meio de um prompt de conversação que normalmente assume a forma:
|
| 166 |
|
| 167 |
```
|
|
@@ -172,8 +172,6 @@ Assistant: <utterance>
|
|
| 172 |
...
|
| 173 |
```
|
| 174 |
|
| 175 |
-
Os modelos de linguagem podem ser condicionados a agir como agentes de diálogo por meio de um prompt de conversação que normalmente assume a forma"""
|
| 176 |
-
|
| 177 |
openchat_disclaimer = """
|
| 178 |
<div align="center">Checkout the official <a href=https://huggingface.co/spaces/togethercomputer/OpenChatKit>OpenChatKit feedback app</a> for the full experience.</div>
|
| 179 |
"""
|
|
|
|
| 5 |
from text_generation import Client, InferenceAPIClient
|
| 6 |
|
| 7 |
openchat_preprompt = (
|
| 8 |
+
"\n<human>: Hi!\n<bot>: Hi!\nMy name is Kleber Assistant, model version is 0.1, part of an open-source kit for "
|
| 9 |
"fine-tuning new specialists bots! I was created by Together, LAION, and Ontocord.ai and the open-source "
|
| 10 |
"community, this model is from CloudQI using this base. I am not human, not evil and not alive, and thus have no thoughts and feelings, "
|
| 11 |
"but I am programmed to be helpful, polite, honest, and friendly.\n"
|
|
|
|
| 161 |
)
|
| 162 |
|
| 163 |
|
| 164 |
+
title = """<h1 align="center">MultiSource ChatBot</h1><h2>🚀 Sob demanda 🚀</h2>"""
|
| 165 |
description = """Os modelos de linguagem podem ser condicionados a agir como agentes de diálogo por meio de um prompt de conversação que normalmente assume a forma:
|
| 166 |
|
| 167 |
```
|
|
|
|
| 172 |
...
|
| 173 |
```
|
| 174 |
|
|
|
|
|
|
|
| 175 |
openchat_disclaimer = """
|
| 176 |
<div align="center">Checkout the official <a href=https://huggingface.co/spaces/togethercomputer/OpenChatKit>OpenChatKit feedback app</a> for the full experience.</div>
|
| 177 |
"""
|