doncamilom commited on
Commit
aa83d35
·
1 Parent(s): a9beafd

include w&b logging

Browse files
Files changed (1) hide show
  1. app.py +3 -6
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
- try:
100
- with wandb_tracing_enabled():
101
- response = agent.run(prompt, callbacks=[st_callback])
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