DeekshithN05 commited on
Commit
4b0d46d
·
verified ·
1 Parent(s): a659cab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ class BasicAgent:
21
  )
22
  print("Model loaded.")
23
 
24
- def __call__(self, question: str):
25
  print(f"Received question: {question[:60]}...")
26
  prompt = f"Answer the question clearly and concisely:\n{question.strip()}\nAnswer:"
27
  response = self.pipeline(prompt)[0]["generated_text"]
 
21
  )
22
  print("Model loaded.")
23
 
24
+ def __call__(self, question):
25
  print(f"Received question: {question[:60]}...")
26
  prompt = f"Answer the question clearly and concisely:\n{question.strip()}\nAnswer:"
27
  response = self.pipeline(prompt)[0]["generated_text"]