Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
import transformers
|
2 |
import sentencepiece
|
|
|
|
|
3 |
|
4 |
from transformers import T5ForConditionalGeneration,T5Tokenizer
|
5 |
question_model = T5ForConditionalGeneration.from_pretrained('ramsrigouthamg/t5_squad_v1')
|
|
|
1 |
import transformers
|
2 |
import sentencepiece
|
3 |
+
import torch
|
4 |
+
import numpy as np
|
5 |
|
6 |
from transformers import T5ForConditionalGeneration,T5Tokenizer
|
7 |
question_model = T5ForConditionalGeneration.from_pretrained('ramsrigouthamg/t5_squad_v1')
|