Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -9,8 +9,8 @@ client = InferenceClient(
|
|
9 |
def format_prompt(message, history):
|
10 |
prompt = ""
|
11 |
for user_prompt, bot_response in history:
|
12 |
-
prompt += f"GPT4 Correct User:
|
13 |
-
prompt += f"GPT4 Correct User: {message}<|end_of_turn|>GPT4 Correct Assistant:"
|
14 |
return prompt
|
15 |
|
16 |
def generate(
|
|
|
9 |
def format_prompt(message, history):
|
10 |
prompt = ""
|
11 |
for user_prompt, bot_response in history:
|
12 |
+
prompt += f"GPT4 Correct User: {user_prompt}<|end_of_turn|>GPT4 Correct Assistant: {bot_response}<|end_of_turn|>"
|
13 |
+
prompt += f"GPT4 Correct User: Answer the following in the context of Bhagavan Ramana Maharshi {message}<|end_of_turn|>GPT4 Correct Assistant:"
|
14 |
return prompt
|
15 |
|
16 |
def generate(
|