yasserrmd commited on
Commit
addcd81
·
verified ·
1 Parent(s): 4df7ecc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ user_input = st.text_area("Describe your architecture:",
35
  if st.button("Generate Diagram"):
36
  if user_input:
37
  # Send the user's input to the API
38
- payload = {"question":"make sure to import from diagrams import Diagram Syntax Adherence: Ensure all responses follow the syntax exactly as mentioned in the document, without altering any terms from plural to singular or singular to plural." + user_input }
39
  output = query(payload)
40
  print(output)
41
 
 
35
  if st.button("Generate Diagram"):
36
  if user_input:
37
  # Send the user's input to the API
38
+ payload = {"question":"make sure to import from diagrams import Diagram " + user_input }
39
  output = query(payload)
40
  print(output)
41