Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -21,9 +21,9 @@ phi2 = pipeline(
21
  device_map="cpu"
22
  )
23
  # DSPy-based prompt generation
24
- from dspy.agents import Agent
25
- from dspy import spawn_processes
26
- from dspy.utils import SentenceSplitter, SentimentAnalyzer, NamedEntityRecognizer
27
 
28
  def dspy_generate_agent_prompts(prompt):
29
  """
 
21
  device_map="cpu"
22
  )
23
  # DSPy-based prompt generation
24
+ from dspy.dspy.agents import Agent
25
+ from dspy.dspy import spawn_processes
26
+ from dspy.dspy.utils import SentenceSplitter, SentimentAnalyzer, NamedEntityRecognizer
27
 
28
  def dspy_generate_agent_prompts(prompt):
29
  """