Spaces:
Paused
Paused
osanseviero
commited on
Commit
•
bbe7c73
1
Parent(s):
10f379b
Update app.py
Browse files
app.py
CHANGED
@@ -124,6 +124,7 @@ with demo:
|
|
124 |
mol = gr.HTML(update)
|
125 |
btn.click(fn=update, inputs=inp, outputs=mol)
|
126 |
name.change(fn=suggest, inputs=name, outputs=inp)
|
|
|
127 |
name.change(fn=lambda :"", inputs=None, outputs=mol)
|
128 |
gr.Markdown("A demo of [ESM](https://esmatlas.com/about) by Meta using the API. You can also use ESM in Hugging Face `transformers` as shown [here](https://github.com/huggingface/notebooks/blob/main/examples/protein_folding.ipynb), which is supported since [v4.24](https://github.com/huggingface/transformers/releases/tag/v4.24.0).")
|
129 |
demo.launch()
|
|
|
124 |
mol = gr.HTML(update)
|
125 |
btn.click(fn=update, inputs=inp, outputs=mol)
|
126 |
name.change(fn=suggest, inputs=name, outputs=inp)
|
127 |
+
name.change(fn=update, inputs=inp, outputs=mol)
|
128 |
name.change(fn=lambda :"", inputs=None, outputs=mol)
|
129 |
gr.Markdown("A demo of [ESM](https://esmatlas.com/about) by Meta using the API. You can also use ESM in Hugging Face `transformers` as shown [here](https://github.com/huggingface/notebooks/blob/main/examples/protein_folding.ipynb), which is supported since [v4.24](https://github.com/huggingface/transformers/releases/tag/v4.24.0).")
|
130 |
demo.launch()
|