Skip to content

Commit

Permalink
Fix CSV issue
Browse files Browse the repository at this point in the history
  • Loading branch information
markbotterill committed May 24, 2024
1 parent 858cf1b commit d09cc20
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions backend/scripts/hubgpt_eval_automation.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def upload_to_slack(filename, channel_id):

if __name__ == "__main__":

data = pd.read_csv("hubgpt_eval_automated.csv")
data = pd.read_csv("hubgpt_eval.csv")

queries_list = data.Query.tolist()

Expand All @@ -94,7 +94,7 @@ def upload_to_slack(filename, channel_id):
data[today_str] = responses

# Record + send info
data.to_csv("hubgpt_eval_automated.csv", index = False)
data.to_csv("hubgpt_eval.csv", index = False)
print("Complete")
CHANNEL_ID = os.environ.get("METRICS_CHANNEL_ID")
upload_to_slack("hubgpt_eval_automated.csv", CHANNEL_ID)
upload_to_slack("hubgpt_eval.csv", CHANNEL_ID)

0 comments on commit d09cc20

Please sign in to comment.