elanuk commited on
Commit
f61d548
·
verified ·
1 Parent(s): c2c6d34

Update server.py

Browse files
Files changed (1) hide show
  1. server.py +1 -1
server.py CHANGED
@@ -1127,7 +1127,7 @@ def run_fastapi():
1127
  log_level=LOG_LEVEL.lower()
1128
  )
1129
 
1130
- # Usage in your main section:
1131
  if __name__ == "__main__":
1132
  if os.getenv("SPACE_ID") or os.getenv("GRADIO_SERVER_NAME"):
1133
  # HuggingFace Spaces - start FastAPI in background, Gradio in foreground
 
1127
  log_level=LOG_LEVEL.lower()
1128
  )
1129
 
1130
+ # Usage in main section:
1131
  if __name__ == "__main__":
1132
  if os.getenv("SPACE_ID") or os.getenv("GRADIO_SERVER_NAME"):
1133
  # HuggingFace Spaces - start FastAPI in background, Gradio in foreground