Spaces:
Runtime error
Runtime error
Zai
commited on
Commit
Β·
e339588
1
Parent(s):
1d214ea
again
Browse filesThis view is limited to 50 files because it contains too many changes. Β
See raw diff
- Dockerfile +3 -2
- Graph2plan +0 -1
- {House β Interface/House}/__init__.py +0 -0
- {House β Interface/House}/__pycache__/__init__.cpython-311.pyc +0 -0
- {House β Interface/House}/__pycache__/__init__.cpython-37.pyc +0 -0
- {House β Interface/House}/__pycache__/settings.cpython-311.pyc +0 -0
- {House β Interface/House}/__pycache__/settings.cpython-37.pyc +0 -0
- {House β Interface/House}/__pycache__/urls.cpython-311.pyc +0 -0
- {House β Interface/House}/__pycache__/urls.cpython-37.pyc +0 -0
- {House β Interface/House}/__pycache__/wsgi.cpython-37.pyc +0 -0
- {House β Interface/House}/asgi.py +0 -0
- {House β Interface/House}/settings.py +0 -0
- {House β Interface/House}/urls.py +0 -0
- {House β Interface/House}/wsgi.py +0 -0
- {Houseweb β Interface/Houseweb}/__init__.py +0 -0
- {Houseweb β Interface/Houseweb}/__pycache__/__init__.cpython-311.pyc +0 -0
- {Houseweb β Interface/Houseweb}/__pycache__/__init__.cpython-37.pyc +0 -0
- {Houseweb β Interface/Houseweb}/__pycache__/create.cpython-37.pyc +0 -0
- {Houseweb β Interface/Houseweb}/__pycache__/floorplan2.cpython-37.pyc +0 -0
- {Houseweb β Interface/Houseweb}/__pycache__/network.cpython-37.pyc +0 -0
- {Houseweb β Interface/Houseweb}/__pycache__/utils.cpython-37.pyc +0 -0
- {Houseweb β Interface/Houseweb}/__pycache__/utils1.cpython-37.pyc +0 -0
- {Houseweb β Interface/Houseweb}/__pycache__/views.cpython-311.pyc +0 -0
- {Houseweb β Interface/Houseweb}/__pycache__/views.cpython-37.pyc +0 -0
- {Houseweb β Interface/Houseweb}/admin.py +0 -0
- {Houseweb β Interface/Houseweb}/apps.py +0 -0
- {Houseweb β Interface/Houseweb}/migrations/__init__.py +0 -0
- {Houseweb β Interface/Houseweb}/models.py +0 -0
- {Houseweb β Interface/Houseweb}/tests.py +0 -0
- {Houseweb β Interface/Houseweb}/views.py +0 -0
- {Img β Interface/Img}/data.mat.png +0 -0
- {Img β Interface/Img}/data_test_converted.png +0 -0
- {Img β Interface/Img}/data_train_converted.png +0 -0
- {Img β Interface/Img}/interface.jpg +0 -0
- {Img β Interface/Img}/paper.png +0 -0
- {align_fp β Interface/align_fp}/align_adjacent_room3.m +0 -0
- {align_fp β Interface/align_fp}/align_fp.m +0 -0
- {align_fp β Interface/align_fp}/align_neighbor.m +0 -0
- {align_fp β Interface/align_fp}/align_with_boundary.m +0 -0
- {align_fp β Interface/align_fp}/find_close_seg.m +0 -0
- {align_fp β Interface/align_fp}/find_room_order.m +0 -0
- {align_fp β Interface/align_fp}/get_entrance_space.m +0 -0
- {align_fp β Interface/align_fp}/get_room_boundary.m +0 -0
- {align_fp β Interface/align_fp}/regularize_fp.m +0 -0
- {align_fp β Interface/align_fp}/shrink_box.m +0 -0
- Interface/db.sqlite3 +0 -0
- Interface/manage.py +21 -0
- {model β Interface/model}/__pycache__/_floorplan2.cpython-37.pyc +0 -0
- {model β Interface/model}/__pycache__/add_archs.cpython-37.pyc +0 -0
- {model β Interface/model}/__pycache__/box_utils.cpython-37.pyc +0 -0
Dockerfile
CHANGED
@@ -25,7 +25,8 @@ COPY . /code
|
|
25 |
|
26 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
27 |
|
28 |
-
|
|
|
29 |
|
30 |
-
# Run
|
31 |
CMD ["python", "manage.py", "runserver", "0.0.0.0:7860"]
|
|
|
25 |
|
26 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
27 |
|
28 |
+
# Assuming your Django project is inside the "Interface" folder
|
29 |
+
WORKDIR /code/Interface
|
30 |
|
31 |
+
# Run the Django development server
|
32 |
CMD ["python", "manage.py", "runserver", "0.0.0.0:7860"]
|
Graph2plan
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
Subproject commit 3c6af231f52c38afaf4a0025ceffbc2e5afa7ada
|
|
|
|
{House β Interface/House}/__init__.py
RENAMED
File without changes
|
{House β Interface/House}/__pycache__/__init__.cpython-311.pyc
RENAMED
File without changes
|
{House β Interface/House}/__pycache__/__init__.cpython-37.pyc
RENAMED
File without changes
|
{House β Interface/House}/__pycache__/settings.cpython-311.pyc
RENAMED
File without changes
|
{House β Interface/House}/__pycache__/settings.cpython-37.pyc
RENAMED
File without changes
|
{House β Interface/House}/__pycache__/urls.cpython-311.pyc
RENAMED
File without changes
|
{House β Interface/House}/__pycache__/urls.cpython-37.pyc
RENAMED
File without changes
|
{House β Interface/House}/__pycache__/wsgi.cpython-37.pyc
RENAMED
File without changes
|
{House β Interface/House}/asgi.py
RENAMED
File without changes
|
{House β Interface/House}/settings.py
RENAMED
File without changes
|
{House β Interface/House}/urls.py
RENAMED
File without changes
|
{House β Interface/House}/wsgi.py
RENAMED
File without changes
|
{Houseweb β Interface/Houseweb}/__init__.py
RENAMED
File without changes
|
{Houseweb β Interface/Houseweb}/__pycache__/__init__.cpython-311.pyc
RENAMED
File without changes
|
{Houseweb β Interface/Houseweb}/__pycache__/__init__.cpython-37.pyc
RENAMED
File without changes
|
{Houseweb β Interface/Houseweb}/__pycache__/create.cpython-37.pyc
RENAMED
File without changes
|
{Houseweb β Interface/Houseweb}/__pycache__/floorplan2.cpython-37.pyc
RENAMED
File without changes
|
{Houseweb β Interface/Houseweb}/__pycache__/network.cpython-37.pyc
RENAMED
File without changes
|
{Houseweb β Interface/Houseweb}/__pycache__/utils.cpython-37.pyc
RENAMED
File without changes
|
{Houseweb β Interface/Houseweb}/__pycache__/utils1.cpython-37.pyc
RENAMED
File without changes
|
{Houseweb β Interface/Houseweb}/__pycache__/views.cpython-311.pyc
RENAMED
File without changes
|
{Houseweb β Interface/Houseweb}/__pycache__/views.cpython-37.pyc
RENAMED
File without changes
|
{Houseweb β Interface/Houseweb}/admin.py
RENAMED
File without changes
|
{Houseweb β Interface/Houseweb}/apps.py
RENAMED
File without changes
|
{Houseweb β Interface/Houseweb}/migrations/__init__.py
RENAMED
File without changes
|
{Houseweb β Interface/Houseweb}/models.py
RENAMED
File without changes
|
{Houseweb β Interface/Houseweb}/tests.py
RENAMED
File without changes
|
{Houseweb β Interface/Houseweb}/views.py
RENAMED
File without changes
|
{Img β Interface/Img}/data.mat.png
RENAMED
File without changes
|
{Img β Interface/Img}/data_test_converted.png
RENAMED
File without changes
|
{Img β Interface/Img}/data_train_converted.png
RENAMED
File without changes
|
{Img β Interface/Img}/interface.jpg
RENAMED
File without changes
|
{Img β Interface/Img}/paper.png
RENAMED
File without changes
|
{align_fp β Interface/align_fp}/align_adjacent_room3.m
RENAMED
File without changes
|
{align_fp β Interface/align_fp}/align_fp.m
RENAMED
File without changes
|
{align_fp β Interface/align_fp}/align_neighbor.m
RENAMED
File without changes
|
{align_fp β Interface/align_fp}/align_with_boundary.m
RENAMED
File without changes
|
{align_fp β Interface/align_fp}/find_close_seg.m
RENAMED
File without changes
|
{align_fp β Interface/align_fp}/find_room_order.m
RENAMED
File without changes
|
{align_fp β Interface/align_fp}/get_entrance_space.m
RENAMED
File without changes
|
{align_fp β Interface/align_fp}/get_room_boundary.m
RENAMED
File without changes
|
{align_fp β Interface/align_fp}/regularize_fp.m
RENAMED
File without changes
|
{align_fp β Interface/align_fp}/shrink_box.m
RENAMED
File without changes
|
Interface/db.sqlite3
ADDED
File without changes
|
Interface/manage.py
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/usr/bin/env python
|
2 |
+
"""Django's command-line utility for administrative tasks."""
|
3 |
+
import os
|
4 |
+
import sys
|
5 |
+
|
6 |
+
|
7 |
+
def main():
|
8 |
+
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'House.settings')
|
9 |
+
try:
|
10 |
+
from django.core.management import execute_from_command_line
|
11 |
+
except ImportError as exc:
|
12 |
+
raise ImportError(
|
13 |
+
"Couldn't import Django. Are you sure it's installed and "
|
14 |
+
"available on your PYTHONPATH environment variable? Did you "
|
15 |
+
"forget to activate a virtual environment?"
|
16 |
+
) from exc
|
17 |
+
execute_from_command_line(sys.argv)
|
18 |
+
|
19 |
+
|
20 |
+
if __name__ == '__main__':
|
21 |
+
main()
|
{model β Interface/model}/__pycache__/_floorplan2.cpython-37.pyc
RENAMED
File without changes
|
{model β Interface/model}/__pycache__/add_archs.cpython-37.pyc
RENAMED
File without changes
|
{model β Interface/model}/__pycache__/box_utils.cpython-37.pyc
RENAMED
File without changes
|