Fiacre commited on
Commit
5af59f0
1 Parent(s): 9ebdbe9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -6,8 +6,11 @@ import gradio as gr
6
 
7
  model="gpt-3.5-turbo"
8
 
 
 
 
9
  def get_completion(prompt):
10
- messages = [{"role": "user", "content": prompt}]
11
  response = openai.ChatCompletion.create(
12
  model=model,
13
  messages=messages,
 
6
 
7
  model="gpt-3.5-turbo"
8
 
9
+ task = " Produce a project scope table for introducing AI in tertiary education. In tabular format."
10
+ default_input = "I am looking to elevate our assessments and enable lecturers to develop more authentic assessments."
11
+
12
  def get_completion(prompt):
13
+ messages = [{"role": "user", "content": prompt + task}]
14
  response = openai.ChatCompletion.create(
15
  model=model,
16
  messages=messages,