Spaces:
Running
Running
File size: 688 Bytes
859baec be22f80 859baec 404b247 be22f80 404b247 be22f80 404b247 2c32302 404b247 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
import gradio as gr
from modules.apis import LLM_APIs
from modules.deepseek import DeepSeek_R1_Qwen_7B
from utils import EN_US
ZH2EN = {
"# 大模型部署实例合集": "# LLM Deployment Instances",
"API 部署聚合": "API Aggregation",
"真实 DeepSeek R1 Qwen 7B 模型": "Real DeepSeek R1 Qwen 7B",
}
def _L(zh_txt: str):
return ZH2EN[zh_txt] if EN_US else zh_txt
if __name__ == "__main__":
with gr.Blocks() as demo:
gr.Markdown(_L("# 大模型部署实例合集"))
with gr.Tab(_L("API 部署聚合")):
LLM_APIs()
with gr.Tab(_L("真实 DeepSeek R1 Qwen 7B 模型")):
DeepSeek_R1_Qwen_7B()
demo.launch()
|