You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I followed the instructions to run the WebGUI service in single-model mode by launching the controller, model workers, and Gradio web server. However, when I opened the website, the Gradio web server triggered an error, and the website failed to render correctly.
In the load_demo function, we're passing a list as the first argument to load_demo_single(models, url_params). However, it appears that this argument should be a Context object, not a list. The error occurs because the list object doesn't have the text_models attribute, which causes the AttributeError.
Steps to Reproduce:
Follow the instructions to install the package and run the WebGUI service in single-model mode.
Launch the controller, model workers, and Gradio web server.
Open the website and observe the error.
The text was updated successfully, but these errors were encountered:
Description:
I followed the instructions to run the WebGUI service in single-model mode by launching the controller, model workers, and Gradio web server. However, when I opened the website, the Gradio web server triggered an error, and the website failed to render correctly.
Error Message and Screenshot:
Potential Issue:
In the
load_demo
function, we're passing a list as the first argument toload_demo_single(models, url_params)
. However, it appears that this argument should be aContext
object, not a list. The error occurs because the list object doesn't have thetext_models
attribute, which causes theAttributeError
.Steps to Reproduce:
The text was updated successfully, but these errors were encountered: