yzimmermann commited on
Commit
ca6b54a
·
verified ·
1 Parent(s): 0a18df7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -2
app.py CHANGED
@@ -98,7 +98,7 @@ iface = gr.Interface(
98
  fn=process_smiles,
99
  inputs=[
100
  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"),
101
- gr.Checkbox(label="Compute Explanation (Takes 60s)", value=False),
102
  ],
103
  outputs=[
104
  gr.Label(num_top_classes=3, label="Classification Probabilities"),
@@ -106,7 +106,22 @@ iface = gr.Interface(
106
  gr.Textbox(label="Canonical SMILES")
107
  ],
108
  title="FART",
109
- description="Enter a SMILES string to get the taste classification probabilities."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
110
  )
111
 
112
  iface.launch()
 
98
  fn=process_smiles,
99
  inputs=[
100
  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"),
101
+ gr.Checkbox(label="Display Explanation", value=False),
102
  ],
103
  outputs=[
104
  gr.Label(num_top_classes=3, label="Classification Probabilities"),
 
106
  gr.Textbox(label="Canonical SMILES")
107
  ],
108
  title="FART",
109
+ description="""
110
+ <section id="molecular-taste-description">
111
+ <h2>Discover Molecular Taste with FART</h2>
112
+ <p>
113
+ At Kvant Labs, we revolutionize taste chemistry with FART (Flavor Analysis and Recognition Transformer), an AI-powered tool designed to predict molecular taste profiles from SMILES. FART delivers predictions for <strong>sweet</strong>, <strong>bitter</strong>, <strong>sour</strong>, and <strong>umami</strong> with over 91% accuracy.
114
+ </p>
115
+ <p>
116
+ Beyond predictions, FART offers interpretable insights by identifying the molecular features driving taste, enabling actionable decisions for flavor innovation. Powered by the ChemBERTa framework and trained on the largest molecular taste dataset to date, FART sets a new standard for precision and efficiency in food science.
117
+ </p>
118
+ <p>
119
+ Learn more about the science behind FART in our <a href="https://chemrxiv.org/engage/chemrxiv/article-details/673a2a3af9980725cf80503c" target="_blank">Pre-print</a>.
120
+ </p>
121
+ </section>
122
+ """,
123
+ article=
124
+
125
  )
126
 
127
  iface.launch()