Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -4,9 +4,7 @@ import io
|
|
4 |
from IPython.display import Image, display, HTML
|
5 |
from PIL import Image
|
6 |
import base64
|
7 |
-
from dotenv import load_dotenv, find_dotenv
|
8 |
|
9 |
-
_ = load_dotenv(find_dotenv()) # read local .env file
|
10 |
hf_api_key = os.environ.getattribute("HF_API_KEY")
|
11 |
|
12 |
|
|
|
4 |
from IPython.display import Image, display, HTML
|
5 |
from PIL import Image
|
6 |
import base64
|
|
|
7 |
|
|
|
8 |
hf_api_key = os.environ.getattribute("HF_API_KEY")
|
9 |
|
10 |
|