Spaces:
Runtime error
Runtime error
Commit
·
660fb22
1
Parent(s):
9797e5d
Update app/app.py
Browse files- app/app.py +2 -2
app/app.py
CHANGED
@@ -22,12 +22,12 @@ if st.button("Run Data Cleaning API"):
|
|
22 |
|
23 |
MODEL = "gpt-4" # "gpt-3.5-turbo"
|
24 |
try:
|
25 |
-
with open('prompts/gpt4-system-
|
26 |
sys_mes = f.read()
|
27 |
f.close()
|
28 |
|
29 |
except FileNotFoundError:
|
30 |
-
with open('../prompts/gpt4-system-
|
31 |
sys_mes = f.read()
|
32 |
f.close()
|
33 |
|
|
|
22 |
|
23 |
MODEL = "gpt-4" # "gpt-3.5-turbo"
|
24 |
try:
|
25 |
+
with open('prompts/gpt4-system-message2.txt', 'r', encoding='utf8') as f:
|
26 |
sys_mes = f.read()
|
27 |
f.close()
|
28 |
|
29 |
except FileNotFoundError:
|
30 |
+
with open('../prompts/gpt4-system-message2.txt', 'r', encoding='utf8') as f:
|
31 |
sys_mes = f.read()
|
32 |
f.close()
|
33 |
|