cutycat2000x commited on
Commit
b2ebd1d
·
verified ·
1 Parent(s): fa5c81c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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