Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
|
| 101 |
bi_output = gr.DataFrame(headers=['Similarity Score','Type','Title','Country','Cast','Release Year','Rating','Duration','Category Listing','Description'],
|
| 102 |
-
|
| 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 |
-
|
| 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])
|