Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import datetime
|
|
6 |
|
7 |
# Load the data
|
8 |
df = pd.read_excel("discrepantes.xlsx",quotechar='"',dtype={col: str for col in pd.read_excel('discrepantes.xlsx', nrows=1)})
|
9 |
-
df.fillna(
|
10 |
|
11 |
# Function to generate a response using the TAPEX model
|
12 |
def response(user_question, df):
|
|
|
6 |
|
7 |
# Load the data
|
8 |
df = pd.read_excel("discrepantes.xlsx",quotechar='"',dtype={col: str for col in pd.read_excel('discrepantes.xlsx', nrows=1)})
|
9 |
+
df = df.fillna('').astype(str)
|
10 |
|
11 |
# Function to generate a response using the TAPEX model
|
12 |
def response(user_question, df):
|