Reiner4 commited on
Commit
f9e43f5
1 Parent(s): c3e3662

Update server.py

Browse files
Files changed (1) hide show
  1. server.py +2 -2
server.py CHANGED
@@ -119,7 +119,7 @@ parser.add_argument(
119
  )
120
 
121
  args = parser.parse_args()
122
-
123
  port = 7860
124
  host = "0.0.0.0"
125
  summarization_model = (
@@ -418,7 +418,7 @@ def image_to_base64(image: Image, quality: int = 75) -> str:
418
 
419
 
420
  ignore_auth = []
421
- # Hugging Face, Get password instead of text file.
422
  api_key = os.environ.get("password")
423
 
424
  def is_authorize_ignored(request):
 
119
  )
120
 
121
  args = parser.parse_args()
122
+ # [HF, Huggingface] Set port to 7860, set host to remote.
123
  port = 7860
124
  host = "0.0.0.0"
125
  summarization_model = (
 
418
 
419
 
420
  ignore_auth = []
421
+ # [HF, Huggingface] Get password instead of text file.
422
  api_key = os.environ.get("password")
423
 
424
  def is_authorize_ignored(request):