Spaces:
Running
Running
Update app.py
Browse files
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=
|
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):
|