fixing login button
Browse files
submit.py
CHANGED
@@ -23,6 +23,8 @@ def submit_boundary(
|
|
23 |
) -> str:
|
24 |
|
25 |
# error handling
|
|
|
|
|
26 |
if profile.username is None:
|
27 |
raise gr.Error("You must be logged in to submit a file.")
|
28 |
|
|
|
23 |
) -> str:
|
24 |
|
25 |
# error handling
|
26 |
+
print(profile)
|
27 |
+
print("the profile name is: ", profile.username)
|
28 |
if profile.username is None:
|
29 |
raise gr.Error("You must be logged in to submit a file.")
|
30 |
|