Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -2,13 +2,7 @@
|
|
2 |
# This file is required and must be named app.py for HF Spaces
|
3 |
|
4 |
# Import your main script
|
5 |
-
from ocs4dev import
|
6 |
|
7 |
if __name__ == "__main__":
|
8 |
-
|
9 |
-
demo = create_demo()
|
10 |
-
demo.launch()
|
11 |
-
|
12 |
-
# For HF Spaces, also define at module level
|
13 |
-
demo = create_demo()
|
14 |
-
demo.launch()
|
|
|
2 |
# This file is required and must be named app.py for HF Spaces
|
3 |
|
4 |
# Import your main script
|
5 |
+
from ocs4dev import main
|
6 |
|
7 |
if __name__ == "__main__":
|
8 |
+
main()
|
|
|
|
|
|
|
|
|
|
|
|