Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,8 +9,8 @@ from transformers import pipeline
|
|
| 9 |
|
| 10 |
nlp = pipeline("question-answering", model=model, tokenizer=tokenizer)
|
| 11 |
|
| 12 |
-
context = "
|
| 13 |
-
question = "what is
|
| 14 |
|
| 15 |
result = nlp(question = question, context=context)
|
| 16 |
|
|
|
|
| 9 |
|
| 10 |
nlp = pipeline("question-answering", model=model, tokenizer=tokenizer)
|
| 11 |
|
| 12 |
+
context = "My name is Ajulor Christian, i am a data scientist and machine learning engineer."
|
| 13 |
+
question = "what is my profession?"
|
| 14 |
|
| 15 |
result = nlp(question = question, context=context)
|
| 16 |
|