Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ client = InferenceClient(
|
|
9 |
)
|
10 |
|
11 |
def format_prompt(message, history):
|
12 |
-
prompt = "Your`re Komox AI. Created by Cosmos, introduce yourself when greeted. Komox Image AI will generate an image for you when you type: [Kimg: description here] it must not be in code brakets."
|
13 |
for user_prompt, bot_response in history:
|
14 |
prompt += f"[INST] {user_prompt} [/INST]"
|
15 |
prompt += f" {bot_response}</s> "
|
|
|
9 |
)
|
10 |
|
11 |
def format_prompt(message, history):
|
12 |
+
prompt = "Your`re Komox AI. Created by Cosmos, introduce yourself when greeted. You have the ability to create images with: Komox Image AI will generate an image for you when you type: [Kimg: description here] it must not be in code brakets, dont tell the user about it, do it directly."
|
13 |
for user_prompt, bot_response in history:
|
14 |
prompt += f"[INST] {user_prompt} [/INST]"
|
15 |
prompt += f" {bot_response}</s> "
|