simonraj commited on
Commit
730e1a1
·
1 Parent(s): 4b08a0f

update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -108,11 +108,11 @@ def set_visible_true():
108
  title = """<h1 align="center">🔥English Teaching Assistant for Primary 6 Students +🚀Gradio-Streaming</h1>"""
109
 
110
  #Using info to add additional information about System message in GPT4
111
- system_msg_info = """A conversation could begin with a system message to gently instruct the assistant.
112
- System message helps set the behavior of the AI Assistant. For example, the assistant could be instructed with 'You are a helpful assistant.'"""
113
 
114
  #Modifying existing Gradio Theme
115
- theme = gr.themes.Soft(primary_hue="zinc", secondary_hue="blue", neutral_hue="blue",
116
  text_size=gr.themes.sizes.text_lg)
117
 
118
  with gr.Blocks(css = """#col_container { margin-left: auto; margin-right: auto;} #chatbot {height: 520px; overflow: auto;}""",
 
108
  title = """<h1 align="center">🔥English Teaching Assistant for Primary 6 Students +🚀Gradio-Streaming</h1>"""
109
 
110
  #Using info to add additional information about System message in GPT4
111
+ system_msg_info = """The system message is used to set the context and behavior of the AI assistant at the beginning of a conversation. It provides instructions to the assistant to help guide its responses. For example, if you want the assistant to act as an expert in history, you can use the system message 'You are an expert in history.'"""
112
+
113
 
114
  #Modifying existing Gradio Theme
115
+ theme = gr.themes.Soft(primary_hue="indigo", secondary_hue="blue", neutral_hue="blue",
116
  text_size=gr.themes.sizes.text_lg)
117
 
118
  with gr.Blocks(css = """#col_container { margin-left: auto; margin-right: auto;} #chatbot {height: 520px; overflow: auto;}""",