mastefan commited on
Commit
bee6afe
·
verified ·
1 Parent(s): fc7875a

Update src/app/main_app.py

Browse files
Files changed (1) hide show
  1. src/app/main_app.py +12 -6
src/app/main_app.py CHANGED
@@ -2,15 +2,20 @@
2
  ###############################################################
3
  # main_app.py — Agentic Language Partner UI (Streamlit)
4
  ###############################################################
5
- from app.auth import (
6
  authenticate_user,
7
  register_user,
8
  get_user_prefs,
9
  update_user_prefs,
10
  )
11
- from app.config import get_user_dir
12
- from app.conversation_core import ConversationManager
13
- from app.flashcards_tools import (
 
 
 
 
 
14
  list_user_decks,
15
  load_deck,
16
  _get_decks_dir,
@@ -18,8 +23,9 @@ from app.flashcards_tools import (
18
  generate_flashcards_from_text,
19
  generate_flashcards_from_ocr_results,
20
  )
21
- from app.ocr_tools import ocr_and_translate_batch
22
- from app.viewers import generate_flashcard_viewer_for_user
 
23
 
24
  ###############################################################
25
  # PAGE + GLOBAL STYLE
 
2
  ###############################################################
3
  # main_app.py — Agentic Language Partner UI (Streamlit)
4
  ###############################################################
5
+ from .auth import (
6
  authenticate_user,
7
  register_user,
8
  get_user_prefs,
9
  update_user_prefs,
10
  )
11
+ from .config import get_user_dir
12
+ from .conversation_core import (
13
+ ConversationManager,
14
+ load_whisper,
15
+ load_partner_lm,
16
+ # load_nllb, # uncomment if you actually implement NLLB in conversation_core
17
+ )
18
+ from .flashcards_tools import (
19
  list_user_decks,
20
  load_deck,
21
  _get_decks_dir,
 
23
  generate_flashcards_from_text,
24
  generate_flashcards_from_ocr_results,
25
  )
26
+ from .ocr_tools import ocr_and_translate_batch
27
+ from .viewers import generate_flashcard_viewer_for_user
28
+
29
 
30
  ###############################################################
31
  # PAGE + GLOBAL STYLE