Update app.py
Browse files
app.py
CHANGED
|
@@ -61,7 +61,7 @@ processor = AutoProcessor.from_pretrained(model_name, token=token)
|
|
| 61 |
device = model.device
|
| 62 |
mock_image = Image.new("RGB", (448, 448), (255, 255, 255))
|
| 63 |
|
| 64 |
-
with gr.Blocks() as demo:
|
| 65 |
gr.Markdown("# ColPali: Efficient Document Retrieval with Vision Language Models 📚🔍")
|
| 66 |
gr.Markdown("## 1️⃣ Upload PDFs")
|
| 67 |
file = gr.File(file_types=["pdf"], file_count="multiple")
|
|
|
|
| 61 |
device = model.device
|
| 62 |
mock_image = Image.new("RGB", (448, 448), (255, 255, 255))
|
| 63 |
|
| 64 |
+
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
| 65 |
gr.Markdown("# ColPali: Efficient Document Retrieval with Vision Language Models 📚🔍")
|
| 66 |
gr.Markdown("## 1️⃣ Upload PDFs")
|
| 67 |
file = gr.File(file_types=["pdf"], file_count="multiple")
|