Skip to content

Commit

Permalink
Merge branch 'Libr-AI:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
ruixing76 authored May 30, 2024
2 parents 34e5388 + a48dfd3 commit 5c9b82e
Show file tree
Hide file tree
Showing 33 changed files with 1,853 additions and 340 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ dmypy.json

# Cython debug symbols
cython_debug/
debug.ipynb

# PyCharm
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
Expand All @@ -169,6 +170,8 @@ log/
# Mac
*.DS_Store

# lark key and utils
factcheck/utils/lark.py
# openai_key_file
factcheck/utils/openai_key.py
factcheck/config/secret_dict.py
Expand All @@ -181,3 +184,5 @@ faiss.index

# test data
demo_data/test_api_config.yaml
assets/response.json
api_config.yaml
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# Ignore test linting to avoid conflicting changes to version stability.
exclude: |
(?x)^(
factcheck/utils/prompt/|
demo_data/|
templates/|
static/|
assets/|
fig/
)
repos:
Expand Down
Binary file added assets/XH.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions assets/css/app.min.css

Large diffs are not rendered by default.

44 changes: 44 additions & 0 deletions assets/css/factcheck.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
.controversial-span {
padding: 2px;
text-decoration: underline wavy rgba(255, 197, 61, 0.996);
border-bottom: 2px solid rgba(255, 197, 61, 0.996);
cursor: pointer;
}

.controversial-span:hover {
padding: 2px;
text-decoration: underline wavy rgba(255, 197, 61, 0.996);
border-bottom: 2px solid rgba(255, 197, 61, 0.996);
background: rgb(217, 217, 217);
cursor: pointer;
}

.refutes-span {
padding: 2px;
text-decoration: underline wavy rgba(209, 2, 0, 0.533);
border-bottom: 2px solid rgba(209, 2, 0, 0.533);
cursor: pointer;
}

.refutes-span:hover {
padding: 2px;
text-decoration: underline wavy rgba(209, 2, 0, 0.533);
border-bottom: 2px solid rgba(209, 2, 0, 0.533);
background: rgb(217, 217, 217);
cursor: pointer;
}

.support-span {
padding: 2px;
text-decoration: none;
border-bottom: 2px solid rgba(255, 197, 61, 0);
cursor: pointer;
}

.support-span:hover {
padding: 2px;
text-decoration: none;
border-bottom: 2px solid rgba(255, 197, 61, 0);
background: rgb(217, 217, 217);
cursor: pointer;
}
Binary file added assets/css/images/cover.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/css/images/pattern.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions assets/css/vendor.min.css

Large diffs are not rendered by default.

Loading

0 comments on commit 5c9b82e

Please sign in to comment.