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 if not code_interpreter else message +
|
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 only one code snippet and only in that way that it would run in streamlit app, and but don't output anything if it requires some additional libraries.")
|
46 |
st.write("Done...")
|
47 |
|
48 |
st.write("Checking images...")
|