admin commited on
Commit
5ccdebb
·
1 Parent(s): 404b247

refine titles

Browse files
Files changed (3) hide show
  1. app.py +2 -2
  2. deepseek.py +1 -2
  3. llms.py +1 -2
app.py CHANGED
@@ -4,8 +4,8 @@ from deepseek import DeepSeek_R1_Qwen_7B
4
 
5
  if __name__ == "__main__":
6
  with gr.Blocks() as demo:
7
- gr.Markdown("# Large Language Model Deployment Example")
8
- with gr.Tab("API"):
9
  LLM_APIs()
10
 
11
  with gr.Tab("Real DeepSeek R1 Qwen 7B"):
 
4
 
5
  if __name__ == "__main__":
6
  with gr.Blocks() as demo:
7
+ gr.Markdown("# LLM Deployment Instances")
8
+ with gr.Tab("API Aggregation"):
9
  LLM_APIs()
10
 
11
  with gr.Tab("Real DeepSeek R1 Qwen 7B"):
deepseek.py CHANGED
@@ -75,8 +75,7 @@ def predict(
75
  yield "".join(outputs)
76
 
77
 
78
- def DeepSeek_R1_Qwen_7B():
79
- # Create Gradio interface
80
  return gr.ChatInterface(
81
  predict,
82
  title=f"{MODEL_NAME} Deployment Instance",
 
75
  yield "".join(outputs)
76
 
77
 
78
+ def DeepSeek_R1_Qwen_7B(): # Create Gradio interface
 
79
  return gr.ChatInterface(
80
  predict,
81
  title=f"{MODEL_NAME} Deployment Instance",
llms.py CHANGED
@@ -96,8 +96,7 @@ def kimi(
96
 
97
 
98
  def LLM_APIs():
99
- with gr.Blocks() as llms: # Create Gradio interface
100
- gr.Markdown("# LLM API Aggregation Deployment")
101
  with gr.Tab("DeepSeek"):
102
  with gr.Accordion(label="⚙️ Settings", open=False) as ds_acc:
103
  ds_model = gr.Dropdown(
 
96
 
97
 
98
  def LLM_APIs():
99
+ with gr.Blocks() as llms:
 
100
  with gr.Tab("DeepSeek"):
101
  with gr.Accordion(label="⚙️ Settings", open=False) as ds_acc:
102
  ds_model = gr.Dropdown(