THUDM / ChatGLM-6B

ChatGLM-6B: An Open Bilingual Dialogue Language Model | 开源双语对话语言模型
Apache License 2.0
40.03k stars 5.16k forks source link

[Help] web_demo2在公网IP没法回答微调后的问题 #1406

Open XiaoXiaoJiangYun opened 9 months ago

XiaoXiaoJiangYun commented 9 months ago

Is there an existing issue for this?

Current Behavior

web_demo2在公网IP没法回答微调后的问题

Expected Behavior

No response

Steps To Reproduce

  1. streamlit run web_demo2
  2. 出现公网和本地两个IP地址
  3. 公网IP下,提问无法回答微调时训练的问题
  4. 本地IP下,提问可以回答微调时训练的问题

Environment

- OS:
- Python:
- Transformers:
- PyTorch:
- CUDA Support (`python -c "import torch; print(torch.cuda.is_available())"`) :

Anything else?

No response

GitStardust commented 7 months ago

我想请教一下怎么将webdemo2.py部署到局域网供其他电脑访问呢