Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,7 +14,6 @@ new_model = AutoModelForQuestionAnswering.from_pretrained(model_checkpoint)
|
|
| 14 |
tokenizer = AutoTokenizer.from_pretrained("distilroberta-base", use_fast=True)
|
| 15 |
qa = pipeline("question-answering", new_model, tokenizer, tokenizer)
|
| 16 |
|
| 17 |
-
!pip install gradio
|
| 18 |
|
| 19 |
import gradio as gr
|
| 20 |
|
|
|
|
| 14 |
tokenizer = AutoTokenizer.from_pretrained("distilroberta-base", use_fast=True)
|
| 15 |
qa = pipeline("question-answering", new_model, tokenizer, tokenizer)
|
| 16 |
|
|
|
|
| 17 |
|
| 18 |
import gradio as gr
|
| 19 |
|