amcgovern commited on
Commit
8eb7b79
·
verified ·
1 Parent(s): e1668a1

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +4 -1
main.py CHANGED
@@ -17,7 +17,10 @@ if not HF_TOKEN:
17
 
18
  # Initialize API
19
  api = HfApi(token=HF_TOKEN)
20
- app = FastAPI(title=APP_TITLE)
 
 
 
21
 
22
  # CORS setup for ChatGPT
23
  app.add_middleware(
 
17
 
18
  # Initialize API
19
  api = HfApi(token=HF_TOKEN)
20
+ app = FastAPI(
21
+ title=APP_TITLE,
22
+ servers=[{"url": "https://amcgovern-omol25dsf.hf.space"}]
23
+ )
24
 
25
  # CORS setup for ChatGPT
26
  app.add_middleware(