Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ phi2 = pipeline(
|
|
22 |
device_map="cpu"
|
23 |
)
|
24 |
# DSPy-based prompt generation
|
25 |
-
from dspy
|
26 |
from dspy import spawn_processes
|
27 |
from dspy.utils import SentenceSplitter, SentimentAnalyzer, NamedEntityRecognizer
|
28 |
|
|
|
22 |
device_map="cpu"
|
23 |
)
|
24 |
# DSPy-based prompt generation
|
25 |
+
from dspy import Agent
|
26 |
from dspy import spawn_processes
|
27 |
from dspy.utils import SentenceSplitter, SentimentAnalyzer, NamedEntityRecognizer
|
28 |
|