Maksym Batiuk
commited on
Commit
β’
82fbb90
1
Parent(s):
f8f7268
Edit folder structure
Browse files- Dockerfile +3 -3
- rag-system/app.py β app.py +0 -0
- {rag-system/data β data}/.DS_Store +0 -0
- {rag-system/data β data}/chunked/10 Vertebrates F.json +0 -0
- {rag-system/data β data}/chunked/Bio1AL_Diveristy_Mammals.json +0 -0
- {rag-system/data β data}/chunked/Encyclopedia of Extinct Animals.json +0 -0
- {rag-system/data β data}/chunked/bless_animal_guide.json +0 -0
- {rag-system/data β data}/converted/10 Vertebrates F.txt +0 -0
- {rag-system/data β data}/converted/Bio1AL_Diveristy_Mammals.txt +0 -0
- {rag-system/data β data}/converted/Encyclopedia of Extinct Animals.txt +0 -0
- {rag-system/data β data}/converted/bless_animal_guide.txt +0 -0
- rag-system/.DS_Store +0 -0
- {rag-system/src β src}/__init__.py +0 -0
- {rag-system/src β src}/preprocessing/__init__.py +0 -0
- {rag-system/src β src}/preprocessing/__main__.py +0 -0
- {rag-system/src β src}/preprocessing/chunker.py +0 -0
- {rag-system/src β src}/preprocessing/file_converter.py +0 -0
- {rag-system/src β src}/rag/__init__.py +0 -0
- {rag-system/src β src}/rag/question_answerer.py +0 -0
- {rag-system/src β src}/rag/retriever.py +0 -0
Dockerfile
CHANGED
@@ -28,10 +28,10 @@ RUN poetry config virtualenvs.create false
|
|
28 |
RUN poetry install --no-root --no-dev
|
29 |
|
30 |
# Copy the rest of the project files
|
31 |
-
COPY
|
32 |
|
33 |
# Set environment variables
|
34 |
-
ENV PYTHONPATH=/app/
|
35 |
ENV TOKENIZERS_PARALLELISM=false
|
36 |
ENV TORCH_CPP_LOG_LEVEL=ERROR
|
37 |
ENV PYTORCH_DISABLE_SYSTEM_MONITORING=1
|
@@ -40,4 +40,4 @@ ENV PYTORCH_DISABLE_SYSTEM_MONITORING=1
|
|
40 |
EXPOSE 7860
|
41 |
|
42 |
# Command to start the Gradio app
|
43 |
-
CMD ["python3", "
|
|
|
28 |
RUN poetry install --no-root --no-dev
|
29 |
|
30 |
# Copy the rest of the project files
|
31 |
+
COPY . /app/
|
32 |
|
33 |
# Set environment variables
|
34 |
+
ENV PYTHONPATH=/app/src
|
35 |
ENV TOKENIZERS_PARALLELISM=false
|
36 |
ENV TORCH_CPP_LOG_LEVEL=ERROR
|
37 |
ENV PYTORCH_DISABLE_SYSTEM_MONITORING=1
|
|
|
40 |
EXPOSE 7860
|
41 |
|
42 |
# Command to start the Gradio app
|
43 |
+
CMD ["python3", "app.py"]
|
rag-system/app.py β app.py
RENAMED
File without changes
|
{rag-system/data β data}/.DS_Store
RENAMED
File without changes
|
{rag-system/data β data}/chunked/10 Vertebrates F.json
RENAMED
File without changes
|
{rag-system/data β data}/chunked/Bio1AL_Diveristy_Mammals.json
RENAMED
File without changes
|
{rag-system/data β data}/chunked/Encyclopedia of Extinct Animals.json
RENAMED
File without changes
|
{rag-system/data β data}/chunked/bless_animal_guide.json
RENAMED
File without changes
|
{rag-system/data β data}/converted/10 Vertebrates F.txt
RENAMED
File without changes
|
{rag-system/data β data}/converted/Bio1AL_Diveristy_Mammals.txt
RENAMED
File without changes
|
{rag-system/data β data}/converted/Encyclopedia of Extinct Animals.txt
RENAMED
File without changes
|
{rag-system/data β data}/converted/bless_animal_guide.txt
RENAMED
File without changes
|
rag-system/.DS_Store
DELETED
Binary file (6.15 kB)
|
|
{rag-system/src β src}/__init__.py
RENAMED
File without changes
|
{rag-system/src β src}/preprocessing/__init__.py
RENAMED
File without changes
|
{rag-system/src β src}/preprocessing/__main__.py
RENAMED
File without changes
|
{rag-system/src β src}/preprocessing/chunker.py
RENAMED
File without changes
|
{rag-system/src β src}/preprocessing/file_converter.py
RENAMED
File without changes
|
{rag-system/src β src}/rag/__init__.py
RENAMED
File without changes
|
{rag-system/src β src}/rag/question_answerer.py
RENAMED
File without changes
|
{rag-system/src β src}/rag/retriever.py
RENAMED
File without changes
|