FastChat icon indicating copy to clipboard operation
FastChat copied to clipboard

I have some questions, such as how to create a public link that can open the dialog interface in your browser

Open Hzzhang-nlp opened this issue 2 years ago • 1 comments

4d148beb3ef0b0a1e44b48edca3375d

Hzzhang-nlp avatar May 25 '23 05:05 Hzzhang-nlp

--share

gebilaoman avatar Jun 09 '23 08:06 gebilaoman

--share

It doesn't work for the gradio_web_server.py:

2023-06-29 12:03:00 | INFO | gradio_web_server | args: Namespace(host='0.0.0.0', port=None, share=True, controller_url='http://localhost:21001', concurrency_count=10, model_list_mode='reload', moderate=False, add_chatgpt=False, add_claude=False, add_palm=False, gradio_auth_path=None)
2023-06-29 12:03:00 | INFO | gradio_web_server | Models: ['vicuna-13b-v1.3', 'mpt-30b-instruct']
2023-06-29 12:03:00 | ERROR | stderr | /p/haicluster/llama/FastChat/sc_venv_template/venv/lib/python3.10/site-packages/gradio/deprecation.py:43: UserWarning: You have unused kwarg parameters in Dropdown, please remove them: {'container': False}
2023-06-29 12:03:00 | ERROR | stderr |   warnings.warn(
2023-06-29 12:03:00 | ERROR | stderr | /p/haicluster/llama/FastChat/sc_venv_template/venv/lib/python3.10/site-packages/gradio/deprecation.py:40: UserWarning: `height` is deprecated in `Interface()`, please use it within `launch()` instead.
2023-06-29 12:03:00 | ERROR | stderr |   warnings.warn(value)
2023-06-29 12:03:00 | ERROR | stderr | /p/haicluster/llama/FastChat/sc_venv_template/venv/lib/python3.10/site-packages/gradio/deprecation.py:43: UserWarning: You have unused kwarg parameters in Textbox, please remove them: {'container': False}
2023-06-29 12:03:00 | ERROR | stderr |   warnings.warn(
2023-06-29 12:03:00 | INFO | stdout | Running on local URL:  http://0.0.0.0:7860

surak avatar Jun 29 '23 12:06 surak

--share

It doesn't work for the gradio_web_server.py:

2023-06-29 12:03:00 | INFO | gradio_web_server | args: Namespace(host='0.0.0.0', port=None, share=True, controller_url='http://localhost:21001', concurrency_count=10, model_list_mode='reload', moderate=False, add_chatgpt=False, add_claude=False, add_palm=False, gradio_auth_path=None)
2023-06-29 12:03:00 | INFO | gradio_web_server | Models: ['vicuna-13b-v1.3', 'mpt-30b-instruct']
2023-06-29 12:03:00 | ERROR | stderr | /p/haicluster/llama/FastChat/sc_venv_template/venv/lib/python3.10/site-packages/gradio/deprecation.py:43: UserWarning: You have unused kwarg parameters in Dropdown, please remove them: {'container': False}
2023-06-29 12:03:00 | ERROR | stderr |   warnings.warn(
2023-06-29 12:03:00 | ERROR | stderr | /p/haicluster/llama/FastChat/sc_venv_template/venv/lib/python3.10/site-packages/gradio/deprecation.py:40: UserWarning: `height` is deprecated in `Interface()`, please use it within `launch()` instead.
2023-06-29 12:03:00 | ERROR | stderr |   warnings.warn(value)
2023-06-29 12:03:00 | ERROR | stderr | /p/haicluster/llama/FastChat/sc_venv_template/venv/lib/python3.10/site-packages/gradio/deprecation.py:43: UserWarning: You have unused kwarg parameters in Textbox, please remove them: {'container': False}
2023-06-29 12:03:00 | ERROR | stderr |   warnings.warn(
2023-06-29 12:03:00 | INFO | stdout | Running on local URL:  http://0.0.0.0:7860

I wonder if you solved it?

Hzzhang-nlp avatar Jul 19 '23 08:07 Hzzhang-nlp

It’s a problem on gradio. We have to post on their repository.

surak avatar Jul 19 '23 08:07 surak

It’s a problem on gradio. We have to post on their repository.

What do you mean? I just want to know how to generate a public link

Hzzhang-nlp avatar Jul 19 '23 08:07 Hzzhang-nlp

It’s a problem on gradio. We have to post on their repository.

--share

Parameters were added, but no, no public links were generated

Hzzhang-nlp avatar Jul 19 '23 08:07 Hzzhang-nlp

Exactly. That's a problem on Gradio, and should be reported there.

surak avatar Jul 19 '23 11:07 surak

As @surak said, you can post the issue to gradio or use a lower version of gradio

merrymercy avatar Jul 19 '23 20:07 merrymercy

As @surak said, you can post the issue to gradio or use a lower version of gradio

I don't know why you like closing issues so much, there may be better people to share ideas with, but thanks anyway

Hzzhang-nlp avatar Jul 20 '23 02:07 Hzzhang-nlp