Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ def predict(openai_gpt4_key, system_msg, inputs, top_p, temperature, chat_counte
|
|
11 |
|
12 |
headers = {
|
13 |
"Content-Type": "application/json",
|
14 |
-
"Authorization": f"Bearer
|
15 |
}
|
16 |
print(f"system message is ^^ {system_msg}")
|
17 |
if system_msg.strip() == '':
|
|
|
11 |
|
12 |
headers = {
|
13 |
"Content-Type": "application/json",
|
14 |
+
"Authorization": f"Bearer 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" #Users will provide their own OPENAI_API_KEY
|
15 |
}
|
16 |
print(f"system message is ^^ {system_msg}")
|
17 |
if system_msg.strip() == '':
|