Illia56 commited on
Commit
2603267
·
1 Parent(s): 0f45e38

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ st.write(DESCRIPTION)
42
  def predict(message):
43
  with st.status("Requesting Palm-2🌴..."):
44
  st.write("Requesting API...")
45
- response = bard.get_answer(message + 'Rule 1: If User requires a code snippet, write each code snippet only in that way that it would run in streamlit app.')
46
  st.write("Done...")
47
 
48
  st.write("Checking images...")
 
42
  def predict(message):
43
  with st.status("Requesting Palm-2🌴..."):
44
  st.write("Requesting API...")
45
+ response = bard.get_answer(message if not code_interpreter else message + 'Rule 1: If User requires a code snippet, write each code snippet only in that way that it would run in streamlit app.')
46
  st.write("Done...")
47
 
48
  st.write("Checking images...")