Spaces:
Runtime error
Runtime error
Add application file
Browse files- Dockerfile +1 -0
- __pycache__/macros.cpython-311.pyc +0 -0
- __pycache__/main.cpython-311.pyc +0 -0
- __pycache__/s2smodels.cpython-311.pyc +0 -0
- main.py +1 -1
- sql_app.db +0 -0
Dockerfile
CHANGED
@@ -10,6 +10,7 @@ COPY ./requirements.txt /code/requirements.txt
|
|
10 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
11 |
COPY ./s2smodels.py /code/
|
12 |
COPY ./macros.py /code/
|
|
|
13 |
COPY ./utils /code/utils/
|
14 |
COPY ./modules /code/modules/
|
15 |
COPY ./models /code/models/
|
|
|
10 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
11 |
COPY ./s2smodels.py /code/
|
12 |
COPY ./macros.py /code/
|
13 |
+
COPY ./sql_app.db /code/
|
14 |
COPY ./utils /code/utils/
|
15 |
COPY ./modules /code/modules/
|
16 |
COPY ./models /code/models/
|
__pycache__/macros.cpython-311.pyc
ADDED
Binary file (822 Bytes). View file
|
|
__pycache__/main.cpython-311.pyc
ADDED
Binary file (16.8 kB). View file
|
|
__pycache__/s2smodels.cpython-311.pyc
ADDED
Binary file (1.34 kB). View file
|
|
main.py
CHANGED
@@ -15,7 +15,7 @@ from pyannote.audio import Pipeline
|
|
15 |
import soundfile as sf
|
16 |
from fastapi_cors import CORS
|
17 |
DATABASE_URL = "sqlite:///./sql_app.db"
|
18 |
-
engine = create_engine(
|
19 |
Session = sessionmaker(bind=engine)
|
20 |
|
21 |
app = FastAPI()
|
|
|
15 |
import soundfile as sf
|
16 |
from fastapi_cors import CORS
|
17 |
DATABASE_URL = "sqlite:///./sql_app.db"
|
18 |
+
engine = create_engine(DATABASE_URL)
|
19 |
Session = sessionmaker(bind=engine)
|
20 |
|
21 |
app = FastAPI()
|
sql_app.db
ADDED
Binary file (12.3 kB). View file
|
|