PepperSim commited on
Commit
fc5444d
·
verified ·
1 Parent(s): 54145f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -7
app.py CHANGED
@@ -6,13 +6,7 @@ import warnings
6
 
7
  warnings.filterwarnings("ignore")
8
 
9
- # Running locally. Please set the UPSTAGE_API_KEY in the .env file
10
- from dotenv import load_dotenv
11
-
12
- load_dotenv()
13
-
14
- if "UPSTAGE_API_KEY" not in os.environ:
15
- os.environ["UPSTAGE_API_KEY"] = getpass.getpass("Enter your Upstage API key: ")
16
 
17
 
18
  from pydantic import BaseModel
 
6
 
7
  warnings.filterwarnings("ignore")
8
 
9
+ os.environ["UPSTAGE_API_KEY"] = getpass.getpass("Enter your Upstage API key: ")
 
 
 
 
 
 
10
 
11
 
12
  from pydantic import BaseModel