File size: 585 Bytes
3fba904 49cc76f 3fba904 49cc76f 3fba904 e6c4c9f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
"""
File: app.py
Description: Chat with the vision language model Mistral Small.
Author: Didier Guillevic
Date: 2025-03-18
"""
import gradio as gr
from module_chat import demo as chat_block
from module_translation import demo as translation_block
from module_rewriting import demo as rewriting_block
from module_ocr import demo as ocr_block
demo = gr.TabbedInterface(
interface_list=[chat_block, translation_block, rewriting_block, ocr_block],
tab_names=["Chat", "Translation", "Rewriting", "OCR"],
title="Multimedia Chat (Mistral Small)"
)
demo.launch(show_api=False)
|