Tonic commited on
Commit
429bf81
·
unverified ·
1 Parent(s): dd512e6

add fasta visualizer gradio blocks

Browse files
Files changed (1) hide show
  1. space.py +2 -2
space.py CHANGED
@@ -2,9 +2,9 @@ import gradio as gr
2
  from gradio_fasta import FASTA
3
 
4
  with gr.Blocks() as demo:
5
- fasta_viewer = FASTA(value="TP53_protein_sequences.fasta")
6
  gr.Markdown("### Zoonotica File Viewer")
7
- fasta_viewer.render() # Render the FASTA component without requiring inputs
 
8
 
9
  if __name__ == "__main__":
10
  demo.launch()
 
2
  from gradio_fasta import FASTA
3
 
4
  with gr.Blocks() as demo:
 
5
  gr.Markdown("### Zoonotica File Viewer")
6
+ fasta_viewer = FASTA(value="TP53_protein_sequences.fasta")
7
+ # fasta_viewer.render() # Render the FASTA component without requiring inputs
8
 
9
  if __name__ == "__main__":
10
  demo.launch()