mgbam commited on
Commit
b349d30
·
verified ·
1 Parent(s): 431c9a5

Update app/app.py

Browse files
Files changed (1) hide show
  1. app/app.py +8 -3
app/app.py CHANGED
@@ -18,10 +18,15 @@ from fastapi import FastAPI, Request
18
  from fastapi.responses import HTMLResponse, StreamingResponse
19
  from fastapi.templating import Jinja2Templates
20
 
21
- # Import our modular, asynchronous service classes
22
- from price_fetcher import PriceFetcher
23
- from gemini_analyzer import GeminiAnalyzer
 
 
 
24
  from newsapi import NewsApiClient
 
 
25
 
26
  # --- Application Lifespan for Resource Management ---
27
 
 
18
  from fastapi.responses import HTMLResponse, StreamingResponse
19
  from fastapi.templating import Jinja2Templates
20
 
21
+ # ====================================================================
22
+ # FIX APPLIED HERE
23
+ # ====================================================================
24
+ # Use relative imports because these modules are in the same 'app' package.
25
+ from .price_fetcher import PriceFetcher
26
+ from .gemini_analyzer import GeminiAnalyzer
27
  from newsapi import NewsApiClient
28
+ # ====================================================================
29
+
30
 
31
  # --- Application Lifespan for Resource Management ---
32