hiwei commited on
Commit
6bacd97
1 Parent(s): 420dee9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,5 +1,5 @@
1
  import gradio as gr
2
- from apps import translator_demo, simple_chat_demo, instruction_chat_demo
3
  from chatClient import ChatClient, ChatGLM2APIClient, ChatGLM2ModelClient
4
  from config import Settings
5
 
@@ -9,6 +9,7 @@ demo_register = {
9
  "通用对话": simple_chat_demo,
10
  "预设指令对话": instruction_chat_demo,
11
  "翻译器": translator_demo,
 
12
  }
13
 
14
 
 
1
  import gradio as gr
2
+ from apps import translator_demo, simple_chat_demo, instruction_chat_demo, content_moderation_demo
3
  from chatClient import ChatClient, ChatGLM2APIClient, ChatGLM2ModelClient
4
  from config import Settings
5
 
 
9
  "通用对话": simple_chat_demo,
10
  "预设指令对话": instruction_chat_demo,
11
  "翻译器": translator_demo,
12
+ "内容审查": content_moderation_demo,
13
  }
14
 
15