Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -344,7 +344,7 @@ with gr.Blocks() as demo:
|
|
| 344 |
out_text = gr.Textbox(label="پاسخ (Answer)")
|
| 345 |
out_table = gr.Dataframe(headers=["Rank", "Title", "Text S", "Image S", "Hybrid S", "Doc ID"], label="Top-K retrieval")
|
| 346 |
out_gallery = gr.Gallery(label="تصاویر مرتبط (Image matches)", columns=5, height=240)
|
| 347 |
-
out_img_top = gr.Image(label="Top image match")
|
| 348 |
|
| 349 |
btn.click(
|
| 350 |
answer,
|
|
|
|
| 344 |
out_text = gr.Textbox(label="پاسخ (Answer)")
|
| 345 |
out_table = gr.Dataframe(headers=["Rank", "Title", "Text S", "Image S", "Hybrid S", "Doc ID"], label="Top-K retrieval")
|
| 346 |
out_gallery = gr.Gallery(label="تصاویر مرتبط (Image matches)", columns=5, height=240)
|
| 347 |
+
out_img_top = gr.Image(label="Top image match")
|
| 348 |
|
| 349 |
btn.click(
|
| 350 |
answer,
|