Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,15 +8,10 @@ warnings.filterwarnings("ignore")
|
|
| 8 |
|
| 9 |
from IPython import get_ipython
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
else:
|
| 16 |
-
# Running locally. Please set the UPSTAGE_API_KEY in the .env file
|
| 17 |
-
from dotenv import load_dotenv
|
| 18 |
-
|
| 19 |
-
load_dotenv()
|
| 20 |
|
| 21 |
if "UPSTAGE_API_KEY" not in os.environ:
|
| 22 |
os.environ["UPSTAGE_API_KEY"] = getpass.getpass("Enter your Upstage API key: ")
|
|
|
|
| 8 |
|
| 9 |
from IPython import get_ipython
|
| 10 |
|
| 11 |
+
# Running locally. Please set the UPSTAGE_API_KEY in the .env file
|
| 12 |
+
from dotenv import load_dotenv
|
| 13 |
+
|
| 14 |
+
load_dotenv()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
|
| 16 |
if "UPSTAGE_API_KEY" not in os.environ:
|
| 17 |
os.environ["UPSTAGE_API_KEY"] = getpass.getpass("Enter your Upstage API key: ")
|