最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

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

programmeradmin2浏览0评论

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?

发布评论

评论列表(0)

  1. 暂无评论