Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -43,7 +43,7 @@ def bot_streaming(message, history):
|
|
43 |
thread = Thread(target=model.generate, kwargs=generation_kwargs)
|
44 |
thread.start()
|
45 |
|
46 |
-
text_prompt =f"USER:
|
47 |
|
48 |
|
49 |
buffer = ""
|
|
|
43 |
thread = Thread(target=model.generate, kwargs=generation_kwargs)
|
44 |
thread.start()
|
45 |
|
46 |
+
text_prompt =f"USER: \n{message['text']}\nASSISTANT: " #f"[INST] \n{message['text']} [/INST]"
|
47 |
|
48 |
|
49 |
buffer = ""
|