alexkueck commited on
Commit
279016b
1 Parent(s): 1ecb6ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -157,9 +157,10 @@ def clear_all(history):
157
  #cleanup(file_path_download)
158
  #den aktuellen Chatverlauf zum Download bereitstellen:
159
  if chats != {} :
160
- chats.append(summary) #noch nicht im Einsatz, aber hier werden alle Chats einer Sitzung gespeichert
 
161
  else:
162
- chats=summary
163
 
164
  file_path_download = save_and_download(summary)
165
 
 
157
  #cleanup(file_path_download)
158
  #den aktuellen Chatverlauf zum Download bereitstellen:
159
  if chats != {} :
160
+ id_neu = len(chats)+1
161
+ chats[id_neu]=summary #noch nicht im Einsatz, aber hier werden alle Chats einer Sitzung gespeichert
162
  else:
163
+ chats[0]=summary
164
 
165
  file_path_download = save_and_download(summary)
166