Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ def get_bot_response(url, prompt,state):
|
|
49 |
"authorization": os.environ.get("RUNPOD_TOKEN")
|
50 |
}
|
51 |
response = requests.post(url, json=payload, headers=headers)
|
52 |
-
return response.json()['output']
|
53 |
|
54 |
def chat_with_bots(user_input, state):
|
55 |
bot_names = list(chatbots.keys())
|
|
|
49 |
"authorization": os.environ.get("RUNPOD_TOKEN")
|
50 |
}
|
51 |
response = requests.post(url, json=payload, headers=headers)
|
52 |
+
return response.json()['output']
|
53 |
|
54 |
def chat_with_bots(user_input, state):
|
55 |
bot_names = list(chatbots.keys())
|