Spaces:
Build error
Build error
Download app.py from Tonic/gradio_msaplot: direct link, hf CLI and curl.
- Browser
- Download file 380 Bytes
-
https://huggingface.co/spaces/Tonic/gradio_msaplot/resolve/main/app.py
- Command line
-
hf download hf://spaces/Tonic/gradio_msaplot/app.py
-
curl -L -o app.py https://huggingface.co/spaces/Tonic/gradio_msaplot/resolve/main/app.py
380 Bytes
| import gradio as gr | |
| from gradio_msaplot import MSAPlot, MSAPlotData | |
| import matplotlib | |
| matplotlib.use('Agg') | |
| example = MSAPlot().example_value() | |
| with gr.Blocks() as demo: | |
| with gr.Row(): | |
| MSAPlot(label="Blank"), # blank component | |
| MSAPlot(value=example, label="Populated"), # populated component | |
| if __name__ == "__main__": | |
| demo.launch() | |