Surya8663 commited on
Commit
c57675d
·
1 Parent(s): f740971

Fix relative imports for deployment

Browse files
Files changed (1) hide show
  1. backend/app.py +3 -2
backend/app.py CHANGED
@@ -3,8 +3,9 @@
3
  from transformers import pipeline
4
  import gradio as gr
5
  import pandas as pd
6
- from gmail_fetcher import fetch_latest_emails
7
- import database
 
8
 
9
  # --- This is the core change ---
10
  # 1. We load a pre-trained "zero-shot-classification" pipeline from Hugging Face.
 
3
  from transformers import pipeline
4
  import gradio as gr
5
  import pandas as pd
6
+ # NEW, CORRECTED LINES
7
+ from .gmail_fetcher import fetch_latest_emails
8
+ from . import database
9
 
10
  # --- This is the core change ---
11
  # 1. We load a pre-trained "zero-shot-classification" pipeline from Hugging Face.