diff --git a/README.md b/README.md index 048d239..e5f888c 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ export OPENAI_API_KEY=... # this is required in all tasks Alternatively, you configure API keys via a YAML file, see [user guide](docs/user_guide.md) for more details. A sample test case: -

+

## Usage diff --git a/fig/cmd_example.gif b/assets/cmd_example.gif similarity index 100% rename from fig/cmd_example.gif rename to assets/cmd_example.gif diff --git a/fig/librai_librai.png b/assets/librai_librai.png similarity index 100% rename from fig/librai_librai.png rename to assets/librai_librai.png diff --git a/fig/web_input.png b/assets/web_input.png similarity index 100% rename from fig/web_input.png rename to assets/web_input.png diff --git a/fig/web_result.png b/assets/web_result.png similarity index 100% rename from fig/web_result.png rename to assets/web_result.png diff --git a/docs/user_guide.md b/docs/user_guide.md index 6412265..f2c07e1 100644 --- a/docs/user_guide.md +++ b/docs/user_guide.md @@ -124,8 +124,8 @@ print(results) python webapp.py --api_config demo_data/api_config.yaml ``` -

-

+

+

## Advanced Features diff --git a/static/librai_librai.png b/static/librai_librai.png deleted file mode 100644 index 22b5927..0000000 Binary files a/static/librai_librai.png and /dev/null differ diff --git a/templates/input.html b/templates/input.html index e6d8124..bb6e7e6 100644 --- a/templates/input.html +++ b/templates/input.html @@ -123,9 +123,9 @@
- - LibrAI Logo + LibrAI Logo
diff --git a/templates/result.html b/templates/result.html index df8ec8c..c51f2a4 100644 --- a/templates/result.html +++ b/templates/result.html @@ -88,9 +88,9 @@
- - LibrAI Logo + LibrAI Logo

Results

diff --git a/webapp.py b/webapp.py index 514bd8f..5e4b045 100644 --- a/webapp.py +++ b/webapp.py @@ -4,7 +4,7 @@ from factcheck.utils.utils import load_yaml from factcheck import FactCheck -app = Flask(__name__) +app = Flask(__name__, static_folder="assets") @app.route("/", methods=["GET", "POST"])