Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ DEVICE = torch.device('cpu')
|
|
12 |
MAX_LEN = 512
|
13 |
|
14 |
tokenizer = T5Tokenizer.from_pretrained('t5-base')
|
15 |
-
model = T5ForConditionalGeneration.from_pretrained('
|
16 |
mod = KeyBERT('distilbert-base-nli-mean-tokens')
|
17 |
model.to(DEVICE)
|
18 |
|
|
|
12 |
MAX_LEN = 512
|
13 |
|
14 |
tokenizer = T5Tokenizer.from_pretrained('t5-base')
|
15 |
+
model = T5ForConditionalGeneration.from_pretrained('ZhangCheng/T5-Base-Fine-Tuned-for-Question-Generation')
|
16 |
mod = KeyBERT('distilbert-base-nli-mean-tokens')
|
17 |
model.to(DEVICE)
|
18 |
|