Ashrafb commited on
Commit
5591fe3
1 Parent(s): 2463e1a

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -17,7 +17,7 @@ from deep_translator import GoogleTranslator
17
 
18
  app = FastAPI()
19
 
20
- API_URL = "https://api-inference.huggingface.co/models/playgroundai/playground-v2-1024px-aesthetic"
21
  API_TOKEN = os.getenv("HF_READ_TOKEN") # it is free
22
  headers = {"Authorization": f"Bearer {API_TOKEN}"}
23
 
 
17
 
18
  app = FastAPI()
19
 
20
+ API_URL = "https://api-inference.huggingface.co/models/playgroundai/playground-v2.5-1024px-aesthetic"
21
  API_TOKEN = os.getenv("HF_READ_TOKEN") # it is free
22
  headers = {"Authorization": f"Bearer {API_TOKEN}"}
23