Provide default example
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ def process_smiles(smiles):
|
|
28 |
|
29 |
iface = gr.Interface(
|
30 |
fn=process_smiles,
|
31 |
-
inputs=gr.Textbox(label="Input SMILES"),
|
32 |
outputs=[
|
33 |
gr.Label(num_top_classes=3, label="Classification Probabilities"),
|
34 |
gr.Image(type="filepath", label="Molecule Image"),
|
|
|
28 |
|
29 |
iface = gr.Interface(
|
30 |
fn=process_smiles,
|
31 |
+
inputs=gr.Textbox(label="Input SMILES", value="O1[C@H](CO)[C@@H](O)[C@H](O)[C@@H](O)[C@H]1O[C@@]2(O[C@@H]([C@@H](O)[C@@H]2O)CO)CO"),
|
32 |
outputs=[
|
33 |
gr.Label(num_top_classes=3, label="Classification Probabilities"),
|
34 |
gr.Image(type="filepath", label="Molecule Image"),
|