krishbakshi commited on
Commit
25651c2
·
verified ·
1 Parent(s): 2076a84

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ if access_token is None:
13
  raise ValueError("Token is not set in the environment variable.")
14
 
15
  # Log in using the token
16
- login(token=token)
17
 
18
  # Define a function that takes a text input and returns an image.
19
  def text_to_image(text : str):
 
13
  raise ValueError("Token is not set in the environment variable.")
14
 
15
  # Log in using the token
16
+ login(token=access_token)
17
 
18
  # Define a function that takes a text input and returns an image.
19
  def text_to_image(text : str):