Update app.py
Browse files
app.py
CHANGED
@@ -5,11 +5,9 @@ from PIL import Image
|
|
5 |
from io import BytesIO
|
6 |
from tqdm import tqdm
|
7 |
import time
|
8 |
-
from dotenv import load_dotenv
|
9 |
|
10 |
# Load token from .env if available
|
11 |
-
|
12 |
-
token = os.getenv("HF_TOKEN") # Place your token in a .env file or set it in the environment
|
13 |
|
14 |
# Define repository and trigger
|
15 |
repo = "artificialguybr/TshirtDesignRedmond-V2"
|
|
|
5 |
from io import BytesIO
|
6 |
from tqdm import tqdm
|
7 |
import time
|
|
|
8 |
|
9 |
# Load token from .env if available
|
10 |
+
token = os.environ("HF_TOKEN") # Place your token in a .env file or set it in the environment
|
|
|
11 |
|
12 |
# Define repository and trigger
|
13 |
repo = "artificialguybr/TshirtDesignRedmond-V2"
|