Spaces:
Runtime error
Runtime error
Delete test.py
Browse files
test.py
DELETED
@@ -1,12 +0,0 @@
|
|
1 |
-
from gradio_client import Client
|
2 |
-
|
3 |
-
client = Client("https://knowledgator-chemicalconverters.hf.space/--replicas/ucig0/")
|
4 |
-
result = client.predict(
|
5 |
-
"CCO", # str in 'Enter your chemical name' Textbox component
|
6 |
-
"SMILES2IUPAC", # Literal['SMILES2IUPAC', 'IUPAC2SMILES', 'IUPAC style prediction'] in 'Choose method to convert chemical names' Radio component
|
7 |
-
"BASE", # Literal['BASE', 'SYSTEMATIC', 'TRADITIONAL'] in 'If SMILES to IUPAC, choose desired IUPAC style' Radio component
|
8 |
-
True, # bool in 'Validate with molecular similarity' Checkbox component
|
9 |
-
True, # bool in 'Plot molecule' Checkbox component
|
10 |
-
api_name="/predict"
|
11 |
-
)
|
12 |
-
print(result)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|