Spaces:
Runtime error
Runtime error
Update app.py
#2
by
gfhayworth
- opened
tweak UI to remove some unnecessary things
Ok cool. Looks like this would rm the OPENAI_API_KEY text box.
the variable openai_api_key_textbox
looks like is getting used in a bunch of other places. let me see if merging this pr causes some NameErrror
errors in those other places
The app now works even if I don't put anything in that box. So removing the box should work fine.
Prior to your last re-factor it would have broken something
it does seem to cause NameError
in a few places
Traceback (most recent call last):
File "/Users/michal/Dropbox/Code/repo/text-audio-video-policies/app.py", line 872, in <module>
message.submit(chat, inputs=[openai_api_key_textbox, message, history_state, chain_state, trace_chain_state,
NameError: name 'openai_api_key_textbox' is not defined
but let me if I can work around that
namoopsoo
changed pull request status to
merged
Ok fixed them in a separate push.