Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -54,12 +54,13 @@ def hello(profile: gr.OAuthProfile | None, request: gr.Request) -> str:
|
|
54 |
return f"✅ Successfully logged in as {profile.username}. User ID: {user_id}"
|
55 |
|
56 |
with gr.Blocks() as demo:
|
57 |
-
with gr.
|
58 |
gr.Markdown("# Discord Verification Space")
|
59 |
with gr.Row():
|
60 |
login_button = gr.LoginButton()
|
61 |
-
|
62 |
-
|
|
|
63 |
|
64 |
|
65 |
|
|
|
54 |
return f"✅ Successfully logged in as {profile.username}. User ID: {user_id}"
|
55 |
|
56 |
with gr.Blocks() as demo:
|
57 |
+
with gr.Row():
|
58 |
gr.Markdown("# Discord Verification Space")
|
59 |
with gr.Row():
|
60 |
login_button = gr.LoginButton()
|
61 |
+
|
62 |
+
m1 = gr.Markdown()
|
63 |
+
demo.load(hello, inputs=None, outputs=m1)
|
64 |
|
65 |
|
66 |
|