seanpedrickcase
commited on
Commit
•
e08f9b8
1
Parent(s):
275c820
Switched Document Redaction Cognito Auth flag to 1
Browse files
app.py
CHANGED
@@ -128,7 +128,7 @@ print(f'The value of COGNITO_AUTH is {COGNITO_AUTH}')
|
|
128 |
|
129 |
if __name__ == "__main__":
|
130 |
|
131 |
-
if os.environ['COGNITO_AUTH'] == "
|
132 |
app.queue().launch(show_error=True, auth=authenticate_user)
|
133 |
else:
|
134 |
app.queue().launch(show_error=True, inbrowser=True)
|
|
|
128 |
|
129 |
if __name__ == "__main__":
|
130 |
|
131 |
+
if os.environ['COGNITO_AUTH'] == "1":
|
132 |
app.queue().launch(show_error=True, auth=authenticate_user)
|
133 |
else:
|
134 |
app.queue().launch(show_error=True, inbrowser=True)
|