Spaces:
Sleeping
Sleeping
edbeeching
commited on
Commit
·
55ec961
1
Parent(s):
09ffdf1
fix emoji
Browse files
app.py
CHANGED
|
@@ -865,9 +865,9 @@ def main():
|
|
| 865 |
max_samples = MAX_SAMPLES_PRO if is_pro else MAX_SAMPLES_FREE
|
| 866 |
|
| 867 |
if is_pro:
|
| 868 |
-
button_text = f"
|
| 869 |
else:
|
| 870 |
-
button_text = f"
|
| 871 |
|
| 872 |
return (
|
| 873 |
gr.update(visible=True), # main_interface
|
|
|
|
| 865 |
max_samples = MAX_SAMPLES_PRO if is_pro else MAX_SAMPLES_FREE
|
| 866 |
|
| 867 |
if is_pro:
|
| 868 |
+
button_text = f"Signed in as PRO ({profile.name if profile else 'User'})"
|
| 869 |
else:
|
| 870 |
+
button_text = f"Signed in as {profile.name if profile else 'User'}"
|
| 871 |
|
| 872 |
return (
|
| 873 |
gr.update(visible=True), # main_interface
|