Spaces:
Sleeping
Sleeping
Update dvnc_ai_v2_hf/app.py
Browse files- dvnc_ai_v2_hf/app.py +12 -0
dvnc_ai_v2_hf/app.py
CHANGED
|
@@ -11,6 +11,18 @@ from typing import List, Dict, Optional
|
|
| 11 |
from urllib.parse import quote
|
| 12 |
from dvnc_ai_v2_hf.agent_route_cards import build_agent_route_cards_html
|
| 13 |
from dvnc_ai_v2_hf.dvnc_ui_layout import get_dvnc_layout_css
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
|
| 15 |
import gradio as gr
|
| 16 |
import requests
|
|
|
|
| 11 |
from urllib.parse import quote
|
| 12 |
from dvnc_ai_v2_hf.agent_route_cards import build_agent_route_cards_html
|
| 13 |
from dvnc_ai_v2_hf.dvnc_ui_layout import get_dvnc_layout_css
|
| 14 |
+
from dvnc_ai_v2_hf.self_learning_graph import (
|
| 15 |
+
DEFAULT_SOURCES,
|
| 16 |
+
SEARCH_MODES,
|
| 17 |
+
SOURCE_OPTIONS,
|
| 18 |
+
build_learning_graph_html,
|
| 19 |
+
build_journal_html,
|
| 20 |
+
ingest_selected_papers,
|
| 21 |
+
parse_uploaded_pdf,
|
| 22 |
+
render_parse_result,
|
| 23 |
+
run_paper_discovery,
|
| 24 |
+
safe_text,
|
| 25 |
+
)
|
| 26 |
|
| 27 |
import gradio as gr
|
| 28 |
import requests
|