arshadrana commited on
Commit
9fd6d81
·
verified ·
1 Parent(s): 9b8b55c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import os
3
  from dashscope import Generation
4
 
5
  # Set API key
6
- YOUR_API_TOKEN = os.getenv('YOUR_API')
7
  dashscope.api_key = YOUR_API_TOKEN
8
 
9
  app = FastAPI()
 
3
  from dashscope import Generation
4
 
5
  # Set API key
6
+ YOUR_API_TOKEN = os.getenv('HF_TOKEN')
7
  dashscope.api_key = YOUR_API_TOKEN
8
 
9
  app = FastAPI()