DocUA commited on
Commit
4c03f52
Β·
1 Parent(s): 5d59675

feat: Update app title to include Spiritual Health Assessment

Browse files

- Add πŸ•ŠοΈ Spiritual Health Assessment to title
- Update both browser title and header markdown
- Update description to mention spiritual distress assessment
- Reflects new multi-mode capabilities (Medical/Lifestyle/Spiritual/Combined)

Requirements: N/A (UI enhancement)

GRADIO_6_UPGRADE_REPORT.md CHANGED
@@ -135,8 +135,9 @@ chatbot = gr.Chatbot(
135
 
136
  ---
137
 
138
- ## Git Commit
139
 
 
140
  ```
141
  commit 2d5a65b
142
  feat: Upgrade to Gradio 6.0.2 with compatibility fixes
@@ -150,6 +151,17 @@ feat: Upgrade to Gradio 6.0.2 with compatibility fixes
150
  - Interface successfully running on http://127.0.0.1:7860
151
  ```
152
 
 
 
 
 
 
 
 
 
 
 
 
153
  ---
154
 
155
  ## Recommendations
 
135
 
136
  ---
137
 
138
+ ## Git Commits
139
 
140
+ ### 1. Gradio 6.0.2 Upgrade
141
  ```
142
  commit 2d5a65b
143
  feat: Upgrade to Gradio 6.0.2 with compatibility fixes
 
151
  - Interface successfully running on http://127.0.0.1:7860
152
  ```
153
 
154
+ ### 2. Environment Loading Fix
155
+ ```
156
+ commit 1567858
157
+ fix: Add load_dotenv() to gradio_app.py for API key loading
158
+
159
+ - Import and call load_dotenv() at the start of gradio_app.py
160
+ - Ensures .env file is loaded before AIClientManager initialization
161
+ - Fixes 'No AI providers available' errors
162
+ - API keys now properly loaded from environment
163
+ ```
164
+
165
  ---
166
 
167
  ## Recommendations
src/interface/gradio_app.py CHANGED
@@ -130,7 +130,7 @@ def create_session_isolated_interface():
130
 
131
  # Gradio 6.x: theme is set via .theme() method after Blocks creation
132
  demo = gr.Blocks(
133
- title=GRADIO_CONFIG.get("title", "Lifestyle Journey MVP + Testing Lab"),
134
  analytics_enabled=False
135
  )
136
  demo.theme = theme
@@ -141,12 +141,12 @@ def create_session_isolated_interface():
141
 
142
  # Header
143
  if log_prompts_enabled:
144
- gr.Markdown("# πŸ₯ Lifestyle Journey MVP + πŸ§ͺ Testing Lab + πŸ”§ Prompt Editor πŸ“")
145
  gr.Markdown("⚠️ **DEBUG MODE:** LLM prompts and responses are saved to `lifestyle_journey.log`")
146
  else:
147
- gr.Markdown("# πŸ₯ Lifestyle Journey MVP + πŸ§ͺ Testing Lab + πŸ”§ Prompt Editor")
148
 
149
- gr.Markdown("Medical chatbot with lifestyle coaching, testing system, and prompt customization")
150
 
151
  # Session info
152
  with gr.Row():
 
130
 
131
  # Gradio 6.x: theme is set via .theme() method after Blocks creation
132
  demo = gr.Blocks(
133
+ title=GRADIO_CONFIG.get("title", "πŸ₯ Lifestyle Journey + πŸ•ŠοΈ Spiritual Health + πŸ§ͺ Testing Lab + πŸ”§ Prompt Editor"),
134
  analytics_enabled=False
135
  )
136
  demo.theme = theme
 
141
 
142
  # Header
143
  if log_prompts_enabled:
144
+ gr.Markdown("# πŸ₯ Lifestyle Journey + πŸ•ŠοΈ Spiritual Health Assessment + πŸ§ͺ Testing Lab + πŸ”§ Prompt Editor πŸ“")
145
  gr.Markdown("⚠️ **DEBUG MODE:** LLM prompts and responses are saved to `lifestyle_journey.log`")
146
  else:
147
+ gr.Markdown("# πŸ₯ Lifestyle Journey + πŸ•ŠοΈ Spiritual Health Assessment + πŸ§ͺ Testing Lab + πŸ”§ Prompt Editor")
148
 
149
+ gr.Markdown("Integrated medical chatbot with lifestyle coaching, spiritual distress assessment, testing system, and prompt customization")
150
 
151
  # Session info
152
  with gr.Row():