Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ HEADERS = {
|
|
| 12 |
"Cookie": "YOUR_COOKIES_HERE", # Replace with actual cookie value
|
| 13 |
}
|
| 14 |
|
| 15 |
-
@app.route('/
|
| 16 |
def query():
|
| 17 |
try:
|
| 18 |
# Get the JSON payload from the request
|
|
|
|
| 12 |
"Cookie": "YOUR_COOKIES_HERE", # Replace with actual cookie value
|
| 13 |
}
|
| 14 |
|
| 15 |
+
@app.route('/chat', methods=['POST'])
|
| 16 |
def query():
|
| 17 |
try:
|
| 18 |
# Get the JSON payload from the request
|