Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,8 @@ import warnings
|
|
| 6 |
|
| 7 |
warnings.filterwarnings("ignore")
|
| 8 |
|
| 9 |
-
|
|
|
|
| 10 |
|
| 11 |
|
| 12 |
from pydantic import BaseModel
|
|
|
|
| 6 |
|
| 7 |
warnings.filterwarnings("ignore")
|
| 8 |
|
| 9 |
+
if "UPSTAGE_API_KEY" not in os.environ:
|
| 10 |
+
os.environ["UPSTAGE_API_KEY"] = getpass.getpass("Enter your Upstage API key: ")
|
| 11 |
|
| 12 |
|
| 13 |
from pydantic import BaseModel
|