Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,7 @@ from transformers import pipeline
|
|
2 |
import wikipedia
|
3 |
import random
|
4 |
import gradio as gr
|
|
|
5 |
model_name = "deepset/electra-base-squad2"
|
6 |
nlp = pipeline('question-answering', model=model_name, tokenizer=model_name)
|
7 |
|
|
|
2 |
import wikipedia
|
3 |
import random
|
4 |
import gradio as gr
|
5 |
+
import csv
|
6 |
model_name = "deepset/electra-base-squad2"
|
7 |
nlp = pipeline('question-answering', model=model_name, tokenizer=model_name)
|
8 |
|