Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ def predict(inputs, top_p, temperature, chat_counter, chatbot, history, request:
|
|
34 |
"frequency_penalty":0,
|
35 |
}
|
36 |
OPENAI_API_KEY = random.choice(OPENAI_API_KEYS)
|
37 |
-
print (OPENAI_API_KEY)
|
38 |
headers_dict = {key.decode('utf-8'): value.decode('utf-8') for key, value in request.headers.raw}
|
39 |
headers = {
|
40 |
"Content-Type": "application/json",
|
|
|
34 |
"frequency_penalty":0,
|
35 |
}
|
36 |
OPENAI_API_KEY = random.choice(OPENAI_API_KEYS)
|
37 |
+
#print (OPENAI_API_KEY)
|
38 |
headers_dict = {key.decode('utf-8'): value.decode('utf-8') for key, value in request.headers.raw}
|
39 |
headers = {
|
40 |
"Content-Type": "application/json",
|