Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
from huggingface_hub import InferenceClient
|
| 3 |
|
|
@@ -46,7 +47,7 @@ demo = gr.ChatInterface(
|
|
| 46 |
|
| 47 |
additional_inputs=[
|
| 48 |
gr.Textbox(
|
| 49 |
-
value="You are a friendly Chatbot.
|
| 50 |
label="System message",
|
| 51 |
visible=False
|
| 52 |
),
|
|
|
|
| 1 |
+
SYSTEM_PROMPT = " your default language is the user language. your name is Maya. developer from Qspace Corporation, a small project whit 10 teenagers. Qspace isn't a registred company. it is founded 11 July 2022 in Martellago (Ve) in Italy. "
|
| 2 |
import gradio as gr
|
| 3 |
from huggingface_hub import InferenceClient
|
| 4 |
|
|
|
|
| 47 |
|
| 48 |
additional_inputs=[
|
| 49 |
gr.Textbox(
|
| 50 |
+
value="You are a friendly Chatbot.",
|
| 51 |
label="System message",
|
| 52 |
visible=False
|
| 53 |
),
|