hsuwill000 commited on
Commit
65205db
·
verified ·
1 Parent(s): 39c0c79

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -34,9 +34,6 @@ def respond(prompt, history):
34
  response = response.replace("<think>", "**THINK**").replace("</think>", "**THINK**").strip()
35
  return response
36
 
37
- def maxtest(prompt):
38
- return prompt
39
-
40
  with gr.Blocks() as demo:
41
  gr.Markdown("# DeepSeek-R1-Distill-Qwen-1.5B-openvino")
42
  with gr.Tabs():
@@ -46,7 +43,7 @@ with gr.Blocks() as demo:
46
  inputs=gr.Textbox(label="Prompt", placeholder="請輸入訊息..."),
47
  outputs=gr.Textbox(label="Response", interactive=False),
48
  api_name="/hchat",
49
- title="MaxTest API",
50
  description="回傳輸入內容的測試 API",
51
  )
52
 
 
34
  response = response.replace("<think>", "**THINK**").replace("</think>", "**THINK**").strip()
35
  return response
36
 
 
 
 
37
  with gr.Blocks() as demo:
38
  gr.Markdown("# DeepSeek-R1-Distill-Qwen-1.5B-openvino")
39
  with gr.Tabs():
 
43
  inputs=gr.Textbox(label="Prompt", placeholder="請輸入訊息..."),
44
  outputs=gr.Textbox(label="Response", interactive=False),
45
  api_name="/hchat",
46
+ title="DeepSeek-R1-Distill-Qwen-1.5B-openvino",
47
  description="回傳輸入內容的測試 API",
48
  )
49