nickmuchi commited on
Commit
742e2ed
1 Parent(s): a7f90e5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -97,14 +97,14 @@ with demo:
97
  query = gr.Textbox(lines=3,label='Describe the Netflix show or movie you would like to watch..')
98
 
99
  with gr.Row():
100
- gr.Markdown(f'''Top-{top_k} Bi-Encoder Retrieval hits''')
101
  bi_output = gr.DataFrame(headers=['Similarity Score','Type','Title','Country','Cast','Release Year','Rating','Duration','Category Listing','Description'],
102
- datatype=['number','str','str','str','str','number','str','str','str','str'])
103
 
104
  with gr.Row():
105
- gr.Markdown(f'''Top-{top_k} Cross-Encoder Re-ranker hits''')
106
  cross_output = gr.DataFrame(headers=['Similarity Score','Type','Title','Country','Cast','Release Year','Rating','Duration','Category Listing','Description'],
107
- datatype=['number','str','str','str','str','number','str','str','str','str'])
108
 
109
  with gr.Row():
110
  examples = gr.Examples(examples=example_queries,inputs=[query])
 
97
  query = gr.Textbox(lines=3,label='Describe the Netflix show or movie you would like to watch..')
98
 
99
  with gr.Row():
100
+
101
  bi_output = gr.DataFrame(headers=['Similarity Score','Type','Title','Country','Cast','Release Year','Rating','Duration','Category Listing','Description'],
102
+ label=f'Top-{top_k} Bi-Encoder Retrieval hits')
103
 
104
  with gr.Row():
105
+
106
  cross_output = gr.DataFrame(headers=['Similarity Score','Type','Title','Country','Cast','Release Year','Rating','Duration','Category Listing','Description'],
107
+ label=f'Top-{top_k} Cross-Encoder Re-ranker hits')
108
 
109
  with gr.Row():
110
  examples = gr.Examples(examples=example_queries,inputs=[query])