Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,8 +4,8 @@ from gradio_client import Client
|
|
4 |
client = Client("https://tonic1-mistralmed-chat.hf.space/--replicas/5fr84/")
|
5 |
|
6 |
def predict(user_input):
|
7 |
-
user_input_with_token = user_input + "
|
8 |
-
system_prompt = "
|
9 |
|
10 |
result = client.predict(
|
11 |
user_input_with_token,
|
|
|
4 |
client = Client("https://tonic1-mistralmed-chat.hf.space/--replicas/5fr84/")
|
5 |
|
6 |
def predict(user_input):
|
7 |
+
user_input_with_token = "[INST]" + user_input + ""
|
8 |
+
system_prompt = "You are MistralMed Created By Tonic-AI. You are a Very Helpful Assistant. You always provide a cautious answer, check your work, provide a long detailed answer.[/INST]"
|
9 |
|
10 |
result = client.predict(
|
11 |
user_input_with_token,
|