Update app.py
Browse files
app.py
CHANGED
@@ -48,7 +48,7 @@ def evaluate(
|
|
48 |
df_result.iloc[0, 3] = response["usage"]["total_tokens"]
|
49 |
|
50 |
now = datetime.datetime.now()
|
51 |
-
file_name = f'
|
52 |
|
53 |
csv_buffer = df_result.to_csv(index=False)
|
54 |
s3.put_object(Bucket=bucket_name, Key=file_name, Body=csv_buffer)
|
|
|
48 |
df_result.iloc[0, 3] = response["usage"]["total_tokens"]
|
49 |
|
50 |
now = datetime.datetime.now()
|
51 |
+
file_name = f'chatgpt4/test_{now.strftime("%Y%m%d_%H%M%S")}.csv'
|
52 |
|
53 |
csv_buffer = df_result.to_csv(index=False)
|
54 |
s3.put_object(Bucket=bucket_name, Key=file_name, Body=csv_buffer)
|