Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,11 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
WORKDIR /app

COPY ./src src/
COPY ./config config/
COPY ./sample_data.csv sample_data.csv
COPY ./streamlit_app.py streamlit_app.py

# Create output directory for CSV files
RUN mkdir -p output

EXPOSE 8501

CMD ["streamlit", "run", "streamlit_app.py", "--server.port=8501", "--theme.base=dark"]
CMD ["streamlit", "run", "src/streamlit_app.py", "--server.port=8501", "--theme.base=dark"]
2 changes: 1 addition & 1 deletion extract_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def main():

# Load configuration
try:
with open('config/config.yaml', 'r') as f:
with open('src/config/config.yaml', 'r') as f:
config = yaml.safe_load(f)
logger.info("Configuration loaded successfully")
except Exception as e:
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion streamlit_app.py → src/streamlit_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
@st.cache_data
def load_errata_data():
"""Load errata data from CSV file."""
csv_path = Path("output/errata_changes.csv")
csv_path = Path("src/output/errata_changes.csv")
sample_path = Path("sample_data.csv")

# Try to load the real data first
Expand Down