BioMike commited on
Commit
06bfe5a
1 Parent(s): d5fa3d7

Update interfaces/smiles2iupac.py

Browse files
Files changed (1) hide show
  1. interfaces/smiles2iupac.py +2 -2
interfaces/smiles2iupac.py CHANGED
@@ -1,8 +1,8 @@
1
  import gradio as gr
2
  from utils import ChemicalConverter, validate_smiles2iupac, plot_mol, login
3
 
4
- def convert(access_code = "wdwad", chemical_name, style, validate, plot):
5
- if not login(access_code.replace(" ", "")):
6
  return "Currently, you don't have access to the service.", None, None
7
  # Initialize the ChemicalConverter
8
  converter = ChemicalConverter(mode="SMILES2IUPAC")
 
1
  import gradio as gr
2
  from utils import ChemicalConverter, validate_smiles2iupac, plot_mol, login
3
 
4
+ def convert(access_code, chemical_name, style, validate, plot):
5
+ if not login(access_code):
6
  return "Currently, you don't have access to the service.", None, None
7
  # Initialize the ChemicalConverter
8
  converter = ChemicalConverter(mode="SMILES2IUPAC")