Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -156,7 +156,6 @@ def recommend_investment(user_query, selected_sector, top_k=3):
|
|
| 156 |
|
| 157 |
|
| 158 |
# --- 4. GRADIO USER INTERFACE ---
|
| 159 |
-
|
| 160 |
# Instead of CSS hacks, we build a native Gradio Dark Theme to fix the white boxes!
|
| 161 |
custom_theme = gr.themes.Base(
|
| 162 |
primary_hue="emerald",
|
|
@@ -222,5 +221,4 @@ with gr.Blocks(theme=custom_theme, title="SectorSync AI") as demo:
|
|
| 222 |
|
| 223 |
if __name__ == "__main__":
|
| 224 |
print("Launching SectorSync AI Recommender App...")
|
| 225 |
-
# share=False is best for Hugging Face spaces
|
| 226 |
demo.launch(share=False)
|
|
|
|
| 156 |
|
| 157 |
|
| 158 |
# --- 4. GRADIO USER INTERFACE ---
|
|
|
|
| 159 |
# Instead of CSS hacks, we build a native Gradio Dark Theme to fix the white boxes!
|
| 160 |
custom_theme = gr.themes.Base(
|
| 161 |
primary_hue="emerald",
|
|
|
|
| 221 |
|
| 222 |
if __name__ == "__main__":
|
| 223 |
print("Launching SectorSync AI Recommender App...")
|
|
|
|
| 224 |
demo.launch(share=False)
|