Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
|
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."}]
|