Update app.py
Browse files
app.py
CHANGED
|
@@ -5,6 +5,7 @@ from transformers import pipeline
|
|
| 5 |
pipeline = pipeline(task="text-generation", model="jeevana/GenerativeQnASystem")
|
| 6 |
|
| 7 |
def predict(input):
|
|
|
|
| 8 |
prediction = pipeline(input)
|
| 9 |
print("type of response:", type(input))
|
| 10 |
return prediction
|
|
|
|
| 5 |
pipeline = pipeline(task="text-generation", model="jeevana/GenerativeQnASystem")
|
| 6 |
|
| 7 |
def predict(input):
|
| 8 |
+
print("pipeline object", pipeline)
|
| 9 |
prediction = pipeline(input)
|
| 10 |
print("type of response:", type(input))
|
| 11 |
return prediction
|