gaur3009 commited on
Commit
8bdabcd
·
verified ·
1 Parent(s): 5c86c2b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
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
- load_dotenv()
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"