Spaces:
Runtime error
Runtime error
Commit
·
5107aa0
1
Parent(s):
6e13688
Update main.py
Browse files
main.py
CHANGED
@@ -27,7 +27,7 @@ def format_prompt(message, history):
|
|
27 |
|
28 |
with open('Manuale.txt', 'r') as file:
|
29 |
manual_content = file.read()
|
30 |
-
prompt += f"
|
31 |
|
32 |
for user_prompt, bot_response in history:
|
33 |
prompt += f"[INST] {user_prompt} [/INST]"
|
|
|
27 |
|
28 |
with open('Manuale.txt', 'r') as file:
|
29 |
manual_content = file.read()
|
30 |
+
prompt += f"Leggi questo manuale dopo ti farò delle domande: {manual_content}"
|
31 |
|
32 |
for user_prompt, bot_response in history:
|
33 |
prompt += f"[INST] {user_prompt} [/INST]"
|