rbuell commited on
Commit
77c484e
·
1 Parent(s): 9a04d94

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -5
app.py CHANGED
@@ -10,13 +10,19 @@ if api_key is None:
10
  # Set API key for OpenAI
11
  openai.api_key = api_key
12
 
 
 
 
 
 
 
 
 
 
 
 
13
  def write_iep():
14
  st.title("IEP Assist")
15
-
16
- def write_sidebar():
17
- st.sidebar.title("What is IEP Assist?")
18
- st.sidebar.info(
19
- "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.")
20
 
21
  # Add a text area
22
  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)
 
10
  # Set API key for OpenAI
11
  openai.api_key = api_key
12
 
13
+ # Add a sidebar with instructions
14
+ st.sidebar.title("Instructions")
15
+ st.sidebar.write("1. Copy & paste or type in student data from your data collection forms.")
16
+ st.sidebar.write("2. Click the 'Analyze' button to generate a PLAAFP statement based on your inputted information.")
17
+ st.sidebar.write("3. Take the analysis from IEP Assist.")
18
+
19
+ st.sidebar.write("")
20
+ st.sidebar.write("")
21
+
22
+ 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.")
23
+
24
  def write_iep():
25
  st.title("IEP Assist")
 
 
 
 
 
26
 
27
  # Add a text area
28
  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)