Spaces:
Running
Running
File size: 2,554 Bytes
7d05115 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 |
# Project Structure Tree project/ β βββ external_services/ β βββ linkedin_api/ # External LinkedIn API β βββ bubble_db/ # Bubble.io database β βββ groq_api/ # GROQ API for NLP β βββ core_application_ui/ β βββ app.py # Gradio UI, Main Control β βββ ui_generators.py # HTML & plot generation β βββ gradio_utils.py # URL param helper β βββ state_sync/ β βββ state_manager.py # Manages TOKEN_STATE, Bubble read, sync decision β βββ sync_logic.py # Orchestrates data sync β βββ token_state/ # Gradio in-memory data store (conceptual) β βββ linkedin_api_layer/ β βββ linkedin_data_api_calls.py # Fetches LinkedIn posts, mentions, comments β βββ linkedin_follower_stats.py # Follower demographics β βββ data_fetching_and_rendering.py # Posts/Stats for analytics β βββ mentions_dashboard.py # Mentions data for analytics β βββ analytics_fetch_and_rendering.py # Fetch + render data for Analytics tab β βββ nlp_services/ β βββ posts_categorization.py # Summarization and classification (via GROQ) β βββ transformers/ # HuggingFace local models for sentiment β βββ db_interface/ β βββ bubble_api_calls.py # Bubble CRUD API interface β βββ utilities/ β βββ config.py # Constants and environment variables β βββ sessions.py # LinkedIn API session management β βββ error_handling.py # Error catching and display β βββ README.md # (Optional) Docs about architecture and flow app.py βββ uses: gradio_utils.py βββ controls: state_manager.py βββ triggers: sync_logic.py βββ updates: token_state βββ renders: ui_generators.py, analytics_fetch_and_rendering.py state_manager.py βββ reads/writes: token_state βββ reads: bubble_api_calls.py βββ uses: config.py sync_logic.py βββ reads/writes: token_state βββ fetches from: β βββ linkedin_data_api_calls.py β βββ linkedin_follower_stats.py βββ updates: bubble_api_calls.py βββ uses: config.py linkedin_data_api_calls.py βββ uses: sessions.py βββ calls NLP: posts_categorization.py βββ uses: transformers/ βββ fetches from: LinkedIn API |