Software_company run_gradio.py ERROR
Jackie-shi opened this issue · comments
Jiayi Shi commented
When I run the run_gradio.py from software_company dir, it returns the following error:
KeyError: 'pwd'
The related code is here:
if state == 99:
# finish
fs = [self.cache['pwd']+'/output_code/'+_ for _ in os.listdir(self.cache['pwd']+'/output_code')]
yield gr.File.update(value=fs, visible=True, interactive=True),\
history, \
gr.Chatbot.update(visible=True),\
gr.Button.update(visible=True, interactive=True, value="Start"),\
gr.Button.update(visible=True, interactive=True),\
gr.Textbox.update(visible=True, interactive=True, placeholder="Please input your requirement", value=""),\
gr.Button.update(visible=False)
return
Jialong Wu commented
hi @Jackie-shi, we have fixed it, you can check our latest codebase(4dca77f).