Skip to content

Commit

Permalink
feat: notebook commented
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasellinger committed Oct 22, 2024
1 parent a514a4a commit 267ab62
Show file tree
Hide file tree
Showing 5 changed files with 9,757 additions and 9,600 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ graphics/
database/
.cache/
.github/
.git/
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ ENV PATH="/home/run/.local/bin:${PATH}"
COPY requirements.txt .
RUN pip install --no-cache-dir --upgrade -r requirements.txt

# Run setup.py if necessary
RUN python3 setup.py

# Copy the rest of the application code
COPY --chown=run:run . .

# Run setup.py if necessary
RUN python3 setup.py

RUN rm config.py

# Copy the configuration file
Expand Down
2 changes: 1 addition & 1 deletion api/pydantic_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class VerificationRequest(BaseModel):
class VerificationResponse(BaseModel):
word: str
claim: str
predicted: int
predicted: str
in_wiki: str
selected_evidences: Optional[List[dict]] = None

Expand Down
Loading

0 comments on commit 267ab62

Please sign in to comment.