Spaces:
Runtime error
Runtime error
Commit ·
1391eac
1
Parent(s): c5abf80
Update app.py
Browse files
app.py
CHANGED
|
@@ -58,4 +58,6 @@ if credentials_json is None:
|
|
| 58 |
print("Error: Please set the CREDENTIALS")
|
| 59 |
else:
|
| 60 |
credentials = json.loads(credentials_json)
|
|
|
|
|
|
|
| 61 |
demo.launch(auth=credentials)
|
|
|
|
| 58 |
print("Error: Please set the CREDENTIALS")
|
| 59 |
else:
|
| 60 |
credentials = json.loads(credentials_json)
|
| 61 |
+
|
| 62 |
+
if __name__ == "__main__":
|
| 63 |
demo.launch(auth=credentials)
|