Maksym Batiuk commited on
Commit
82fbb90
β€’
1 Parent(s): f8f7268

Edit folder structure

Browse files
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 rag-system /app/rag-system/
32
 
33
  # Set environment variables
34
- ENV PYTHONPATH=/app/rag-system/src
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", "rag-system/app.py"]
 
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