Spaces:
Runtime error
Runtime error
danielperales
commited on
Commit
•
0b2a74d
1
Parent(s):
22a19aa
Update app.py
Browse files
app.py
CHANGED
@@ -239,11 +239,10 @@ def main():
|
|
239 |
if selected_csv != "None" or uploaded_file is not None:
|
240 |
if uploaded_file:
|
241 |
try:
|
242 |
-
|
243 |
-
insurance_claims = pd.read_csv (uploaded_file, sep=delimiter)
|
244 |
except ValueError:
|
245 |
-
|
246 |
-
|
247 |
else:
|
248 |
insurance_claims = pd.read_csv(selected_csv)
|
249 |
|
|
|
239 |
if selected_csv != "None" or uploaded_file is not None:
|
240 |
if uploaded_file:
|
241 |
try:
|
242 |
+
insurance_claims = pd.read_csv (uploaded_file, sep=p_delimiter)
|
|
|
243 |
except ValueError:
|
244 |
+
insurance_claims = pd.read_csv (uploaded_file, sep=p_delimiter, encoding='latin-1')
|
245 |
+
|
246 |
else:
|
247 |
insurance_claims = pd.read_csv(selected_csv)
|
248 |
|