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