Fix login
Browse files
app.py
CHANGED
|
@@ -229,7 +229,7 @@ def generate_image(main_image, background_image, did, request: gr.Request, oauth
|
|
| 229 |
if not did:
|
| 230 |
did = str(uuid.uuid4())
|
| 231 |
if not oauth_token:
|
| 232 |
-
m = "Please
|
| 233 |
return gr.Warning(m), did
|
| 234 |
user_id = None
|
| 235 |
user_name = None
|
|
|
|
| 229 |
if not did:
|
| 230 |
did = str(uuid.uuid4())
|
| 231 |
if not oauth_token:
|
| 232 |
+
m = "Please click the authorization button below the Generate button to authorize."
|
| 233 |
return gr.Warning(m), did
|
| 234 |
user_id = None
|
| 235 |
user_name = None
|