jeevana commited on
Commit
0ece6f3
·
verified ·
1 Parent(s): 3f923a6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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