AdrienB134 commited on
Commit
cef7a44
1 Parent(s): 8001e7f
Files changed (2) hide show
  1. app.py +2 -0
  2. requirements.txt +1 -1
app.py CHANGED
@@ -132,5 +132,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
132
  convert_button.click(index, inputs=[file, embeds], outputs=[message, embeds, imgs])
133
  search_button.click(search, inputs=[query, embeds, imgs, k], outputs=[output_gallery])
134
 
 
 
135
  if __name__ == "__main__":
136
  demo.queue(max_size=10).launch(debug=True)
 
132
  convert_button.click(index, inputs=[file, embeds], outputs=[message, embeds, imgs])
133
  search_button.click(search, inputs=[query, embeds, imgs, k], outputs=[output_gallery])
134
 
135
+ answer_button = gr.Button("Answer", variant="primary")
136
+
137
  if __name__ == "__main__":
138
  demo.queue(max_size=10).launch(debug=True)
requirements.txt CHANGED
@@ -1,4 +1,4 @@
1
- huggingface_hub==0.22.2
2
  colpali-engine==0.2.0
3
  pdf2image
4
  GPUtil
 
1
+ huggingface_hub
2
  colpali-engine==0.2.0
3
  pdf2image
4
  GPUtil