Spaces:
Running
on
Zero
Running
on
Zero
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"""
|
2 |
+
File: app.py
|
3 |
+
Description: Chat with the Qwen3 (text / think) model.
|
4 |
+
Author: Didier Guillevic
|
5 |
+
Date: 2025-05-10
|
6 |
+
"""
|
7 |
+
|
8 |
+
import os
|
9 |
+
import gradio as gr
|
10 |
+
|
11 |
+
from module_vision import demo as vision_block
|
12 |
+
from module_translation import demo as translation_block
|
13 |
+
from module_rewriting import demo as rewriting_block
|
14 |
+
|
15 |
+
demo = gr.TabbedInterface(
|
16 |
+
interface_list=[vision_block, translation_block, rewriting_block],
|
17 |
+
tab_names=["Translation",],
|
18 |
+
title="Qwen3 text/think model"
|
19 |
+
)
|
20 |
+
|
21 |
+
demo.launch(show_api=False)
|