Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -205,7 +205,7 @@ def rag(input_text, history, jezik, request: gr.Request): # , file):
|
|
| 205 |
"response": response
|
| 206 |
}
|
| 207 |
headers = {
|
| 208 |
-
"Authorization
|
| 209 |
"Content-Type": "application/json"
|
| 210 |
}
|
| 211 |
try:
|
|
|
|
| 205 |
"response": response
|
| 206 |
}
|
| 207 |
headers = {
|
| 208 |
+
"Authorization": "Bearer " + API_SECRET,
|
| 209 |
"Content-Type": "application/json"
|
| 210 |
}
|
| 211 |
try:
|