Rifat Mamayusupov commited on
Commit
9635c6d
1 Parent(s): 50c2ca4

Update run.py

Browse files
Files changed (1) hide show
  1. run.py +3 -4
run.py CHANGED
@@ -1,5 +1,4 @@
1
- text = input('enter:')
 
2
 
3
- for _ in range(11):
4
-
5
- print(text)
 
1
+ # Use a pipeline as a high-level helper
2
+ from transformers import pipeline
3
 
4
+ pipe = pipeline("question-answering", model="ai-nightcoder/ExtractQuestionAnswer")