juancopi81 commited on
Commit
0a5eb53
1 Parent(s): 1852dbe

Change GPT prompt

Browse files
Files changed (1) hide show
  1. textprocessor.py +0 -3
textprocessor.py CHANGED
@@ -14,9 +14,6 @@ You have to write the summary using a maximum of 7 scenes in a JSON object follo
14
  "Summary": Spanish string with a summary of the scene. It should be in Spanish, and it should be less than 30 words. Readers should understand it without looking at the illustration.
15
  "Illustration": English string with a detailed English description of an illustration for this scene. It must be written in English and in less than 20 words. It should include many details and an artistic style for the image that matches the text.
16
  Just answer with the JSON object:
17
- {
18
- "Scene": 1,
19
- "Summary": "
20
  """
21
 
22
  openai.api_key = os.getenv("SECRET_KEY_OPENAI")
 
14
  "Summary": Spanish string with a summary of the scene. It should be in Spanish, and it should be less than 30 words. Readers should understand it without looking at the illustration.
15
  "Illustration": English string with a detailed English description of an illustration for this scene. It must be written in English and in less than 20 words. It should include many details and an artistic style for the image that matches the text.
16
  Just answer with the JSON object:
 
 
 
17
  """
18
 
19
  openai.api_key = os.getenv("SECRET_KEY_OPENAI")