Spaces:
Running
Running
update
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ def run_inference(
|
|
34 |
raise TypeError("Pass either single SMILES or a file")
|
35 |
elif smiles != "" and smiles_path is not None:
|
36 |
raise TypeError("Pass either single SMILES or a file, not both")
|
37 |
-
elif smiles
|
38 |
smiles = [smiles]
|
39 |
elif smiles_path is not None:
|
40 |
smiles_data = pd.read_csv(smiles_path.name, sep="\t", header=None)
|
|
|
34 |
raise TypeError("Pass either single SMILES or a file")
|
35 |
elif smiles != "" and smiles_path is not None:
|
36 |
raise TypeError("Pass either single SMILES or a file, not both")
|
37 |
+
elif smiles != "":
|
38 |
smiles = [smiles]
|
39 |
elif smiles_path is not None:
|
40 |
smiles_data = pd.read_csv(smiles_path.name, sep="\t", header=None)
|