Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,6 +16,7 @@ CHAT_UI_HOST = 'cutycat2000x-instantchat.static.hf.space'
|
|
| 16 |
@app.route("/<path:path>", methods=['GET', 'POST'])
|
| 17 |
def handle_request(path=""):
|
| 18 |
chat_ui_url = f'https://{DISCORD_ROCKS_HOST}/{path}'
|
|
|
|
| 19 |
method = request.method
|
| 20 |
data = request.data
|
| 21 |
params = request.args
|
|
|
|
| 16 |
@app.route("/<path:path>", methods=['GET', 'POST'])
|
| 17 |
def handle_request(path=""):
|
| 18 |
chat_ui_url = f'https://{DISCORD_ROCKS_HOST}/{path}'
|
| 19 |
+
ip = request.remote_addr
|
| 20 |
method = request.method
|
| 21 |
data = request.data
|
| 22 |
params = request.args
|