Spaces:
Runtime error
Runtime error
Saliltrehan7
commited on
Commit
•
0a5340f
1
Parent(s):
c7223ed
Update app.py
Browse filesAdded library files
app.py
CHANGED
@@ -1,3 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
1 |
from transformers.pipelines import pipeline
|
2 |
from transformers.models.auto.modeling_auto import AutoModelForQuestionAnswering
|
3 |
from transformers.models.auto.tokenization_auto import AutoTokenizer
|
|
|
1 |
+
!pip install transformers
|
2 |
+
!pip install torch
|
3 |
+
!pip install sentencepiece
|
4 |
+
!pip install gradio
|
5 |
+
|
6 |
from transformers.pipelines import pipeline
|
7 |
from transformers.models.auto.modeling_auto import AutoModelForQuestionAnswering
|
8 |
from transformers.models.auto.tokenization_auto import AutoTokenizer
|