Spaces:
Runtime error
Runtime error
Update README.md
Browse files
README.md
CHANGED
|
@@ -10,3 +10,10 @@ pinned: false
|
|
| 10 |
---
|
| 11 |
|
| 12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
---
|
| 11 |
|
| 12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
| 13 |
+
|
| 14 |
+
Explanation:
|
| 15 |
+
|
| 16 |
+
The script sets up a question-answering pipeline with the "Intel/dynamic_tinybert" model using Hugging Face Transformers.
|
| 17 |
+
It defines a function answer_question to process the context and question inputs and format the answer in red font using HTML.
|
| 18 |
+
The Gradio interface is created with two text input boxes for context and question, and an HTML output box for the answer.
|
| 19 |
+
The interface launches automatically when the script is run.
|