wangjin2000 commited on
Commit
7644538
1 Parent(s): 91ef7d7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -107,7 +107,7 @@ with demo:
107
  btn.click(fn=update, inputs=inp, outputs=[output_file, output_viewer])
108
 
109
  name.change(fn=suggest, inputs=name, outputs=inp)
110
- #np.change(fn=update, inputs=inp, outputs=output_file)
111
 
112
  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/ab81a52182acf691e6743a50bc47bd1c1622086f/examples/protein_folding.ipynb), which is supported since [v4.24](https://github.com/huggingface/transformers/releases/tag/v4.24.0).")
113
 
 
107
  btn.click(fn=update, inputs=inp, outputs=[output_file, output_viewer])
108
 
109
  name.change(fn=suggest, inputs=name, outputs=inp)
110
+ inp.change(fn=update, inputs=inp, outputs=[output_file, output_viewer])
111
 
112
  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/ab81a52182acf691e6743a50bc47bd1c1622086f/examples/protein_folding.ipynb), which is supported since [v4.24](https://github.com/huggingface/transformers/releases/tag/v4.24.0).")
113