Commit
·
aa83d35
1
Parent(s):
a9beafd
include w&b logging
Browse files
app.py
CHANGED
@@ -96,11 +96,8 @@ if prompt := st.chat_input():
|
|
96 |
collapse_completed_thoughts = False,
|
97 |
output_placeholder=st.session_state
|
98 |
)
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
st.write(response)
|
103 |
-
except:
|
104 |
-
st.write("Please input a valid OpenAI API key.")
|
105 |
|
106 |
|
|
|
96 |
collapse_completed_thoughts = False,
|
97 |
output_placeholder=st.session_state
|
98 |
)
|
99 |
+
with wandb_tracing_enabled():
|
100 |
+
response = agent.run(prompt, callbacks=[st_callback])
|
101 |
+
st.write(response)
|
|
|
|
|
|
|
102 |
|
103 |
|