gradio_msaplot / app.py
Tonic's picture
Upload folder using huggingface_hub
7873945 verified
raw
history blame contribute delete
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()