raseel-zymr commited on
Commit
489c1bd
1 Parent(s): cd008e3

Updated prompt.

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ daig_prompt = st.text_area("Prompt for diagrams")
24
 
25
  daig_template = PromptTemplate(
26
  input_variables = ['topic', 'name'],
27
- template = 'Using the Python diagrams library generate the code for {topic} and name the diagram {name}. Just return the code. No explaination of the code needed'
28
  )
29
 
30
  daig_memory = ConversationBufferMemory(input_key='topic', memory_key='daig_history')
 
24
 
25
  daig_template = PromptTemplate(
26
  input_variables = ['topic', 'name'],
27
+ template = 'Using the Python diagrams library generate the code for {topic} and name the diagram {name}. The Diagram class in the generated code should have the following parameters set: output_format as jpg and show=False. Just return the code. No explaination of the code needed'
28
  )
29
 
30
  daig_memory = ConversationBufferMemory(input_key='topic', memory_key='daig_history')