cutycat2000x commited on
Commit
595f0ee
·
verified ·
1 Parent(s): 74af97c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,4 +1,5 @@
1
  from flask import Flask, request, Response, copy_current_request_context
 
2
  import requests
3
  import asyncio
4
  import os
@@ -18,7 +19,7 @@ CHAT_UI_HOST = 'cutycat2000x-instantchat.static.hf.space'
18
  def handle_request(path=""):
19
  chat_ui_url = f'https://{DISCORD_ROCKS_HOST}/{path}'
20
  ip = request.remote_addr
21
- print(ip)
22
  method = request.method
23
  data = request.data
24
  params = request.args
 
1
  from flask import Flask, request, Response, copy_current_request_context
2
+ import threading
3
  import requests
4
  import asyncio
5
  import os
 
19
  def handle_request(path=""):
20
  chat_ui_url = f'https://{DISCORD_ROCKS_HOST}/{path}'
21
  ip = request.remote_addr
22
+ print("IP: "+ip)
23
  method = request.method
24
  data = request.data
25
  params = request.args