How do I attach a python debugger to a Gradio UI running on IntelliJ Jupyter? - Stack Overflow

I am running Gradio in an IntelliJ Jupyter plugin editor window. I have set a breakpoint in the chat fu

I am running Gradio in an IntelliJ Jupyter plugin editor window. I have set a breakpoint in the chat function. I run the following code to start a Gradio interface in debug mode. The breakpoint I created is "Suspend: All", not "Suspend: Thread". The breakpoints are not being hit.

How do I run Gradio so that my breakpoints are being hit?

gr.ChatInterface(fn=chat).launch(debug=True)

I am guessing the Gradio interface starts a separate process that is not captured by my debugging session?

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745656858a4638593.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信