Spaces:
Sleeping
Sleeping
Sw1ft0
commited on
Commit
·
8858e33
1
Parent(s):
0c5d81b
Use os.path.join to be OS-safe
Browse files
app.py
CHANGED
|
@@ -8,8 +8,8 @@ genai.configure(api_key=os.getenv("GEMINI_API_KEY"))
|
|
| 8 |
model = genai.GenerativeModel("gemini-1.5-pro") # or "gemini-pro"
|
| 9 |
|
| 10 |
# 2. Load Excel data
|
| 11 |
-
df1 = pd.read_excel("data_source
|
| 12 |
-
df2 = pd.read_excel("data_source
|
| 13 |
|
| 14 |
# Build schema info for prompts
|
| 15 |
def get_schema_info():
|
|
|
|
| 8 |
model = genai.GenerativeModel("gemini-1.5-pro") # or "gemini-pro"
|
| 9 |
|
| 10 |
# 2. Load Excel data
|
| 11 |
+
df1 = pd.read_excel(os.path.join("data_source", "OC Onboarding Information.xlsx"))
|
| 12 |
+
df2 = pd.read_excel(os.path.join("data_source", "The Alex Ideas Report.xlsx"))
|
| 13 |
|
| 14 |
# Build schema info for prompts
|
| 15 |
def get_schema_info():
|