Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -16,19 +16,11 @@ api_key = config
|
|
16 |
def write_iep():
|
17 |
st.title("IEP Assist")
|
18 |
|
19 |
-
|
20 |
-
st.sidebar.title("
|
21 |
-
st.sidebar.
|
22 |
-
|
23 |
-
|
24 |
-
st.sidebar.write("4. Enter student data.")
|
25 |
-
st.sidebar.write("5. Click the 'Analyze' button to generate the statement.")
|
26 |
-
|
27 |
-
st.sidebar.write("")
|
28 |
-
st.sidebar.write("")
|
29 |
-
|
30 |
-
st.sidebar.write("Note: This app uses OpenAI's GPT-3 API to generate the PLAAFP statement. Please enter data that is relevant and appropriate for generating the statement.")
|
31 |
-
|
32 |
# Add a text area
|
33 |
user_query = st.text_area("Enter student data (ie. academic, functional, behavioral). To ensure that the generated PLAAFP statement accurately reflects the student's needs and abilities, it is important to provide as much relevant information as possible:", height=250)
|
34 |
|
|
|
16 |
def write_iep():
|
17 |
st.title("IEP Assist")
|
18 |
|
19 |
+
def write_sidebar():
|
20 |
+
st.sidebar.title("What is IEP Assist?")
|
21 |
+
st.sidebar.info(
|
22 |
+
"IEP Assist generates responses using OpenAI's language generation technology. The technology uses machine learning algorithms trained on large amounts of text data to generate new text based on a given prompt. In the case of IEP Assist, the prompt consists of the student data entered by the user (academic, functional, behavioral information), and the technology generates a Present Levels of Academic Achievement and Functional Performance (PLAAFP) for the student based on the data.")
|
23 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
# Add a text area
|
25 |
user_query = st.text_area("Enter student data (ie. academic, functional, behavioral). To ensure that the generated PLAAFP statement accurately reflects the student's needs and abilities, it is important to provide as much relevant information as possible:", height=250)
|
26 |
|