Spaces:
Sleeping
Sleeping
Enzo Reis de Oliveira
commited on
Commit
·
6b91e18
1
Parent(s):
8650a46
Fixing bug on pandas again
Browse files
app.py
CHANGED
|
@@ -24,7 +24,7 @@ def process_inputs(smiles: str, file_obj):
|
|
| 24 |
# Se um arquivo CSV for fornecido, processa em batch
|
| 25 |
if file_obj is not None:
|
| 26 |
try:
|
| 27 |
-
df_in = pd.read_csv(file_obj.name, sep='
|
| 28 |
|
| 29 |
smiles_cols = [col for col in df_in.columns if col.lower() == "smiles"]
|
| 30 |
if not smiles_cols:
|
|
|
|
| 24 |
# Se um arquivo CSV for fornecido, processa em batch
|
| 25 |
if file_obj is not None:
|
| 26 |
try:
|
| 27 |
+
df_in = pd.read_csv(file_obj.name, sep=None, engine='python')
|
| 28 |
|
| 29 |
smiles_cols = [col for col in df_in.columns if col.lower() == "smiles"]
|
| 30 |
if not smiles_cols:
|