Update app.py
Browse files
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...")
|