Upload folder using huggingface_hub
Browse files
app.py
CHANGED
@@ -687,7 +687,7 @@ def predict_iupac(smiles_string, beam_width_str, n_best_str):
|
|
687 |
pad_idx=pad_idx,
|
688 |
beam_width=beam_width,
|
689 |
n_best=n_best,
|
690 |
-
length_penalty=0.
|
691 |
)
|
692 |
logging.info(f"Predictions returned: {predicted_names}")
|
693 |
|
|
|
687 |
pad_idx=pad_idx,
|
688 |
beam_width=beam_width,
|
689 |
n_best=n_best,
|
690 |
+
length_penalty=0.6,
|
691 |
)
|
692 |
logging.info(f"Predictions returned: {predicted_names}")
|
693 |
|