krishbakshi commited on
Commit
a489b95
·
verified ·
1 Parent(s): 388b3f6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ import os
6
  from huggingface_hub import login
7
 
8
 
9
- login(token= os.get('black-forest-labs/FLUX.1'))
10
 
11
  # Define a function that takes a text input and returns an image.
12
  def text_to_image(text : str):
 
6
  from huggingface_hub import login
7
 
8
 
9
+ login(token= os.getenv('black-forest-labs/FLUX.1'))
10
 
11
  # Define a function that takes a text input and returns an image.
12
  def text_to_image(text : str):