|
""" |
|
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) |
|
|