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