diff --git a/Procfile b/Procfile new file mode 100644 index 0000000000000000000000000000000000000000..2e35818f675d5a1a7b6a84e4561bec032180c1d6 --- /dev/null +++ b/Procfile @@ -0,0 +1 @@ +web: python app.py diff --git a/README.md b/README.md index 713c4440175a8e25a1b3f7266f024d7b1a05b302..4806093ca9c01d33cc260eaa867cca2c322fb4d1 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,14 @@ --- -title: Interactive Explanation Experiment -emoji: πŸ“š -colorFrom: yellow -colorTo: pink -sdk: docker +title: Interactive Llm Xai +emoji: 🌍 +colorFrom: pink +colorTo: blue +sdk: gradio +sdk_version: 5.22.0 +app_file: app.py pinned: false +license: mit +short_description: interactive-llm-xai --- -Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference +Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference \ No newline at end of file diff --git a/app.py b/app.py new file mode 100644 index 0000000000000000000000000000000000000000..e4c1c7f8e495c3e78503a378ef60f3e8222704fd --- /dev/null +++ b/app.py @@ -0,0 +1,693 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +""" +Evaluation back-end for the β€œinteractive-graph” interface on Hugging Face Spaces +─────────────────────────────────────────────────────────────────────────────── +* Serves all evaluation UIs (`/eval_interfaces/