Spaces:
Sleeping
Sleeping
BlahBlah314
commited on
Commit
•
0f72939
1
Parent(s):
225ea17
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ def welcome_user(request: gr.Request):
|
|
12 |
return f"Bienvenue {request.username}"
|
13 |
|
14 |
def doDebug(request: gr.Request):
|
15 |
-
if request.username == os.environ.get("
|
16 |
return gr.Textbox(label="Debug Transcription", visible=True)
|
17 |
return gr.Textbox(label="Debug Transcription", visible=False)
|
18 |
|
|
|
12 |
return f"Bienvenue {request.username}"
|
13 |
|
14 |
def doDebug(request: gr.Request):
|
15 |
+
if request.username == os.environ.get("ADMIN"):
|
16 |
return gr.Textbox(label="Debug Transcription", visible=True)
|
17 |
return gr.Textbox(label="Debug Transcription", visible=False)
|
18 |
|