Spaces:
Sleeping
Sleeping
Fix imports: only import app workflow
Browse files
app.py
CHANGED
|
@@ -13,8 +13,7 @@ from agent.config import DEFAULT_API_URL, USER_AGENT, ATTACHMENTS, ATTACHMENT_BA
|
|
| 13 |
# Import utility functions from your utils.py
|
| 14 |
from agent.utils import extract_final_answer, download_file, get_file_type, fetch_task_attachment, get_youtube_transcript
|
| 15 |
from pathlib import Path
|
| 16 |
-
from agent.agent import app
|
| 17 |
-
|
| 18 |
# Get the absolute path of the directory containing app.py (i.e., /home/user/app/agent/)
|
| 19 |
current_dir = Path(__file__).parent.resolve()
|
| 20 |
# Get the parent directory (i.e., /home/user/app/)
|
|
|
|
| 13 |
# Import utility functions from your utils.py
|
| 14 |
from agent.utils import extract_final_answer, download_file, get_file_type, fetch_task_attachment, get_youtube_transcript
|
| 15 |
from pathlib import Path
|
| 16 |
+
from agent.agent import app
|
|
|
|
| 17 |
# Get the absolute path of the directory containing app.py (i.e., /home/user/app/agent/)
|
| 18 |
current_dir = Path(__file__).parent.resolve()
|
| 19 |
# Get the parent directory (i.e., /home/user/app/)
|