Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -77,7 +77,6 @@ def gpt_predict(inputs, request:gr.Request=gr.State([]), top_p = 1, temperature
|
|
77 |
headers = {
|
78 |
"Content-Type": "application/json",
|
79 |
"Authorization": f"Bearer {OPENAI_API_KEY}",
|
80 |
-
"Headers": f"{request.kwargs['headers']}"
|
81 |
}
|
82 |
|
83 |
# print(f"chat_counter - {chat_counter}")
|
|
|
77 |
headers = {
|
78 |
"Content-Type": "application/json",
|
79 |
"Authorization": f"Bearer {OPENAI_API_KEY}",
|
|
|
80 |
}
|
81 |
|
82 |
# print(f"chat_counter - {chat_counter}")
|