roni commited on
Commit
cdbbabd
·
1 Parent(s): 27e2770

added title

Browse files
Files changed (1) hide show
  1. app.py +11 -7
app.py CHANGED
@@ -25,12 +25,16 @@ def limit_n_results(n):
25
 
26
 
27
  with gr.Blocks() as demo:
28
- with gr.Row():
29
- with gr.Column():
30
- seq_input = gr.Textbox("KFLIYQMECSTMIFGL", label="Input Sequence")
31
- n_results = gr.Number(5, label="N Results")
32
- search_button = gr.Button("Search")
33
- output = gr.Label(num_top_classes=20, label="Search Results")
34
- search_button.click(search, inputs=[seq_input, n_results], outputs=output)
 
 
 
 
35
 
36
  demo.launch()
 
25
 
26
 
27
  with gr.Blocks() as demo:
28
+ with gr.Column():
29
+ gr.Markdown("""
30
+ # Sequence Based Protein Binding Search Engine
31
+ """)
32
+ with gr.Row():
33
+ with gr.Column():
34
+ seq_input = gr.Textbox("KFLIYQMECSTMIFGL", label="Input Sequence")
35
+ n_results = gr.Number(5, label="N Results")
36
+ search_button = gr.Button("Search")
37
+ output = gr.Label(num_top_classes=20, label="Search Results")
38
+ search_button.click(search, inputs=[seq_input, n_results], outputs=output)
39
 
40
  demo.launch()