Vani7065 commited on
Commit
edbfcc6
·
verified ·
1 Parent(s): db92dcc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ from transformers import pipeline
15
  class BasicAgent:
16
  def __init__(self):
17
  print("Initializing BasicAgent with a transformer model...")
18
- self.qa_pipeline = pipeline("text-generation", model="distilbert-base-uncased") # You can change model if needed
19
 
20
  def __call__(self, question: str) -> str:
21
  print(f"Agent received question: {question}")
 
15
  class BasicAgent:
16
  def __init__(self):
17
  print("Initializing BasicAgent with a transformer model...")
18
+ self.qa_pipeline = pipeline("text-generation", model="sshleifer/tiny-distilroberta-base") # You can change model if needed
19
 
20
  def __call__(self, question: str) -> str:
21
  print(f"Agent received question: {question}")