Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,8 @@ import gradio as gr
|
|
| 2 |
import requests
|
| 3 |
|
| 4 |
# ✅ Correct Rasa backend URL including REST webhook path
|
| 5 |
-
RASA_BACKEND = "https://
|
|
|
|
| 6 |
|
| 7 |
def chat_with_rasa(message, chat_history):
|
| 8 |
payload = {
|
|
|
|
| 2 |
import requests
|
| 3 |
|
| 4 |
# ✅ Correct Rasa backend URL including REST webhook path
|
| 5 |
+
RASA_BACKEND = "https://web-production-37bcd.up.railway.app/webhooks/rest/webhook"
|
| 6 |
+
|
| 7 |
|
| 8 |
def chat_with_rasa(message, chat_history):
|
| 9 |
payload = {
|