xinchen9 commited on
Commit
5b75c81
1 Parent(s): a63a8f0

[Update]Add IP and port number

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -7,8 +7,8 @@ import json
7
  from huggingface_hub import login
8
 
9
 
10
- myip = os.environ["myip"]
11
- myport = os.environ["myport"]
12
 
13
 
14
  is_spaces = True if "SPACE_ID" in os.environ else False
 
7
  from huggingface_hub import login
8
 
9
 
10
+ myip = os.environ["0.0.0.0"]
11
+ myport = os.environ["80"]
12
 
13
 
14
  is_spaces = True if "SPACE_ID" in os.environ else False