Update app.py
Browse files
app.py
CHANGED
@@ -153,7 +153,7 @@ def clear_all(history, uploaded_file_paths):
|
|
153 |
result = data['choices'][0]['message']['content']
|
154 |
worte = result.split()
|
155 |
if len(worte) > 2:
|
156 |
-
file_path_download = "data/" + str(len(chats)) + "
|
157 |
else:
|
158 |
file_path_download = "data/" + str(len(chats)) + "_" + result
|
159 |
with open(file_path_download, 'w') as file:
|
|
|
153 |
result = data['choices'][0]['message']['content']
|
154 |
worte = result.split()
|
155 |
if len(worte) > 2:
|
156 |
+
file_path_download = "data/" + str(len(chats)) + "_Chatverlauf"
|
157 |
else:
|
158 |
file_path_download = "data/" + str(len(chats)) + "_" + result
|
159 |
with open(file_path_download, 'w') as file:
|