Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -29,10 +29,6 @@ from assistants import (
|
|
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:
|
|
|
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:
|