-
Notifications
You must be signed in to change notification settings - Fork 363
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support for modelscope gradio #44
Conversation
Please add the following codes in setup.py: setuptools.setup(
# ...
entry_points={
'console_scripts': [
'agentscope_ui=agentscope.web_ui.app:main',
],
},
# ...
) So that the user can run with shorter commands |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see the inline comments.
Please check the usability in win OS, and other part looks good to me. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, in the future we should merge all web UI into one web interface.
Description
This pr implements the presentation of the gradio interface.
For example,
run
python examples/conversation/conversation.py
will chat in the terminal interface,run
as_studio examples/conversation/conversation.py
will launch a studio interface.Usage:
run
as_studio path/to/your/script.py
Remark:
There should be a
main()
function in your script.py which is got runChecklist
Please check the following items before code is ready to be reviewed.