alexkueck commited on
Commit
5a0a2fc
1 Parent(s): 2a4a7e0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -145,7 +145,7 @@ def clear_all(history, uploaded_file_paths):
145
  chats[0]=summary
146
 
147
  #file_path_download = save_and_download(summary)
148
- headers, payload = process_chatverlauf("Gib eine Überschrift aus maximal 2 Worten zu folgendem Text an", MODEL_NAME, OAI_API_KEY)
149
  response = requests.post("https://api.openai.com/v1/chat/completions", headers=headers, json=payload)
150
  #als json ausgeben
151
  data = response.json()
 
145
  chats[0]=summary
146
 
147
  #file_path_download = save_and_download(summary)
148
+ headers, payload = process_chatverlauf(summary, MODEL_NAME, OAI_API_KEY)
149
  response = requests.post("https://api.openai.com/v1/chat/completions", headers=headers, json=payload)
150
  #als json ausgeben
151
  data = response.json()