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

Typo in parameter name

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}. 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')
 
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: outformat 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')