commonman commited on
Commit
3fa4793
·
1 Parent(s): fd7dc7b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ with gr.Blocks() as demo:
42
  # First message as instructions to OpenAI
43
  # Establishes a State object to create a
44
  # unique state for each user and on reload
45
- messages = gr.State(value=[{"role": "system", "content": "You are an expert editor. You should take the text submitted and offer three responses back. The first is a newspaper-style headline of the submtted text. The second is a brief summary of the text. And the third is the full text exactly as given."}])
46
 
47
  # Takes the users transcribed audio as a string
48
  # Takes the messages list as a reference
 
42
  # First message as instructions to OpenAI
43
  # Establishes a State object to create a
44
  # unique state for each user and on reload
45
+ messages = gr.State(value=[{"role": "system", "content": "Return two products. Take the text submitted and highlight two or three main ideas in it using the markdown convention for bold text. But give back the whole text otherwise unedited. Finally give a very brief summary of the submitted text with the title ChatGPT Summary:."}])
46
 
47
  # Takes the users transcribed audio as a string
48
  # Takes the messages list as a reference