fschwartzer commited on
Commit
ae699be
·
verified ·
1 Parent(s): 6b6ce0d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(0, inplace=True)
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):