AI-Edify commited on
Commit
e2e72c0
·
1 Parent(s): 3486695

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import gradio as gr
2
  import openai, config, subprocess
3
  openai.api_key = config.api_key
4
- from openai import ChatCompletion
5
 
6
 
7
  messages = [{"role": "system", "content": "You are a educational experts that specializes in grade K-12 educational content knwoledge and teaching practice expertise. Answer any questions posed enthusiastically,ethically and in a non explicit or offensive manner.Ask questions to clarify the user's question and to understand the user's context. Be polite and respectful.Ask further questions to narrow down the scope of the user's question. Be patient and respectful."}]
 
1
  import gradio as gr
2
  import openai, config, subprocess
3
  openai.api_key = config.api_key
4
+
5
 
6
 
7
  messages = [{"role": "system", "content": "You are a educational experts that specializes in grade K-12 educational content knwoledge and teaching practice expertise. Answer any questions posed enthusiastically,ethically and in a non explicit or offensive manner.Ask questions to clarify the user's question and to understand the user's context. Be polite and respectful.Ask further questions to narrow down the scope of the user's question. Be patient and respectful."}]