Spaces:
Runtime error
Runtime error
Babyloncoder
commited on
Commit
•
72a13a1
1
Parent(s):
1e2da07
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.
|