Spaces:
Running
Running
Update utils.py
Browse files
utils.py
CHANGED
@@ -21,10 +21,11 @@ repo_path = os.path.join('/home', 'user', 'open_deep_research')
|
|
21 |
if repo_path not in sys.path:
|
22 |
sys.path.insert(0, repo_path)
|
23 |
|
24 |
-
# --- CORRECT IMPORT (for
|
25 |
-
from agent import OpenDeepResearchAgent
|
26 |
from report_structure import generate_report
|
27 |
|
|
|
28 |
class DialogueItem(BaseModel):
|
29 |
speaker: Literal["Jane", "John"]
|
30 |
display_speaker: str = "Jane"
|
|
|
21 |
if repo_path not in sys.path:
|
22 |
sys.path.insert(0, repo_path)
|
23 |
|
24 |
+
# --- CORRECT IMPORT (for local cloned repo) ---
|
25 |
+
from open_deep_research.agent import OpenDeepResearchAgent
|
26 |
from report_structure import generate_report
|
27 |
|
28 |
+
|
29 |
class DialogueItem(BaseModel):
|
30 |
speaker: Literal["Jane", "John"]
|
31 |
display_speaker: str = "Jane"
|