Spaces:
Running
Running
stable-diffusion-ai
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -45,8 +45,7 @@ def predict(inputs, top_p, temperature, chat_counter, chatbot, history, request:
|
|
45 |
|
46 |
headers = {
|
47 |
"Content-Type": "application/json",
|
48 |
-
"Authorization": f"Bearer {OPENAI_API_KEY}"
|
49 |
-
"Headers": f"{request.kwargs['headers']}"
|
50 |
}
|
51 |
|
52 |
# print(f"chat_counter - {chat_counter}")
|
|
|
45 |
|
46 |
headers = {
|
47 |
"Content-Type": "application/json",
|
48 |
+
"Authorization": f"Bearer {OPENAI_API_KEY}"
|
|
|
49 |
}
|
50 |
|
51 |
# print(f"chat_counter - {chat_counter}")
|