Spaces:
Running
Running
Eachan Johnson
commited on
Commit
·
b8fe710
1
Parent(s):
c111431
Shorten Info durations
Browse files
app.py
CHANGED
@@ -115,7 +115,7 @@ def convert_one(
|
|
115 |
output_representation = cast(output_representation, to=list)
|
116 |
for rep in output_representation:
|
117 |
message = f"Converting from {input_representation} to {rep}..."
|
118 |
-
gr.Info(message, duration=
|
119 |
|
120 |
df = pd.DataFrame({
|
121 |
input_representation: _clean_split_input(strings),
|
@@ -337,7 +337,7 @@ def draw_one(
|
|
337 |
else:
|
338 |
legends = []
|
339 |
message = f"Drawing {df.shape[0]} molecules..."
|
340 |
-
gr.Info(message, duration=
|
341 |
_ids = {col: df[col].tolist() for col in legends}
|
342 |
mols = cast(_x2mol(df[smiles_col], "smiles"), to=list)
|
343 |
if isinstance(mols, Mol):
|
|
|
115 |
output_representation = cast(output_representation, to=list)
|
116 |
for rep in output_representation:
|
117 |
message = f"Converting from {input_representation} to {rep}..."
|
118 |
+
gr.Info(message, duration=3)
|
119 |
|
120 |
df = pd.DataFrame({
|
121 |
input_representation: _clean_split_input(strings),
|
|
|
337 |
else:
|
338 |
legends = []
|
339 |
message = f"Drawing {df.shape[0]} molecules..."
|
340 |
+
gr.Info(message, duration=2)
|
341 |
_ids = {col: df[col].tolist() for col in legends}
|
342 |
mols = cast(_x2mol(df[smiles_col], "smiles"), to=list)
|
343 |
if isinstance(mols, Mol):
|