Spaces:
Runtime error
Runtime error
fix: request.username
Browse files
app.py
CHANGED
|
@@ -248,7 +248,7 @@ def vote(data: gr.LikeData):
|
|
| 248 |
def create_greeting(request: gr.Request):
|
| 249 |
global USERNAME
|
| 250 |
print(dir(request))
|
| 251 |
-
USERNAME = request.
|
| 252 |
return gr.Markdown.update(value=f"Thanks for logging in, {request.username}")
|
| 253 |
|
| 254 |
with gr.Blocks(css=CSS) as demo:
|
|
|
|
| 248 |
def create_greeting(request: gr.Request):
|
| 249 |
global USERNAME
|
| 250 |
print(dir(request))
|
| 251 |
+
USERNAME = request.username
|
| 252 |
return gr.Markdown.update(value=f"Thanks for logging in, {request.username}")
|
| 253 |
|
| 254 |
with gr.Blocks(css=CSS) as demo:
|