bstraehle commited on
Commit
bb72d5d
1 Parent(s): 932df04

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -29,6 +29,10 @@ from assistants import (
29
  )
30
 
31
  def chat(message, history, openai_api_key):
 
 
 
 
32
  if not openai_api_key:
33
  raise gr.Error("OpenAI API Key is required (see additional inputs below).")
34
  if not message:
 
29
  )
30
 
31
  def chat(message, history, openai_api_key):
32
+ print(len(history))
33
+ print(history)
34
+ print(history[0])
35
+
36
  if not openai_api_key:
37
  raise gr.Error("OpenAI API Key is required (see additional inputs below).")
38
  if not message: