Spaces:
Runtime error
Runtime error
NimaBoscarino
commited on
Commit
•
cf5c8d2
1
Parent(s):
5a34b97
Add some more instructions and limitations
Browse files
app.py
CHANGED
@@ -104,19 +104,28 @@ code {
|
|
104 |
""") as demo:
|
105 |
gr.Markdown("""\
|
106 |
# RegCheck AI
|
107 |
-
This Space matches information in [model cards](https://huggingface.co/docs/hub/model-cards) to proposed
|
108 |
-
compliance descriptions in the
|
109 |
-
|
110 |
-
|
111 |
-
provision of information to users”. \
|
112 |
-
**
|
113 |
-
|
114 |
-
To check a model card, first load it by doing any one of the following:
|
115 |
-
- If the model is on the Hugging Face Hub, search for a model and select it from the results.
|
116 |
-
- If you have the model card on your computer as a Markdown file, select the "Upload your own card" tab and click \
|
117 |
-
"Upload a Markdown file".
|
118 |
-
- Paste your model card's text directly into the "Model Card" text area.
|
119 |
""")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
120 |
|
121 |
with gr.Row():
|
122 |
with gr.Column():
|
|
|
104 |
""") as demo:
|
105 |
gr.Markdown("""\
|
106 |
# RegCheck AI
|
107 |
+
This Space matches information in [model cards](https://huggingface.co/docs/hub/model-cards) to proposed \
|
108 |
+
regulatory compliance descriptions in the \
|
109 |
+
[EU AI Act](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=celex%3A52021PC0206).
|
110 |
+
This is a **prototype** to explore the feasibility of automatic checks for compliance, and is limited to specific \
|
111 |
+
provisions of Article 13 of the Act, “Transparency and provision of information to users”. \
|
112 |
+
**Please note: this is research work and NOT a commercial or legal product.**
|
|
|
|
|
|
|
|
|
|
|
|
|
113 |
""")
|
114 |
+
with gr.Accordion(label="Instructions", open=True):
|
115 |
+
gr.Markdown("""
|
116 |
+
To check a model card, first load it by doing any one of the following:
|
117 |
+
- If the model is on the Hugging Face Hub, search for a model and select it from the results.
|
118 |
+
- If you have the model card on your computer as a Markdown file, select the "Upload your own card" tab and \
|
119 |
+
click "Upload a Markdown file".
|
120 |
+
- Paste your model card's text directly into the "Model Card" text area.
|
121 |
+
""")
|
122 |
+
with gr.Accordion(label="Limitations", open=False):
|
123 |
+
gr.Markdown("""
|
124 |
+
This tool should be treated as a Proof Of Concept, and is not designed for production-level use.
|
125 |
+
- This is currently designed to only work on **English** model cards.
|
126 |
+
- This tool relies on a very strict model card schema, which may be different from your model card.
|
127 |
+
- If your model card contains any HTML fragments, this tool might not be able to read your model card.
|
128 |
+
""")
|
129 |
|
130 |
with gr.Row():
|
131 |
with gr.Column():
|