Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from inference import get_evo_response, get_gpt_response
|
|
5 |
import pandas as pd
|
6 |
import os
|
7 |
|
8 |
-
LOG_PATH = "feedback_log.csv"
|
9 |
os.makedirs(os.path.dirname(LOG_PATH), exist_ok=True)
|
10 |
if not os.path.exists(LOG_PATH):
|
11 |
pd.DataFrame(columns=["question", "context", "option1", "option2", "evo_answer", "feedback"]).to_csv(LOG_PATH, index=False)
|
|
|
5 |
import pandas as pd
|
6 |
import os
|
7 |
|
8 |
+
LOG_PATH = "logs/feedback_log.csv"
|
9 |
os.makedirs(os.path.dirname(LOG_PATH), exist_ok=True)
|
10 |
if not os.path.exists(LOG_PATH):
|
11 |
pd.DataFrame(columns=["question", "context", "option1", "option2", "evo_answer", "feedback"]).to_csv(LOG_PATH, index=False)
|