when i run python web_demo.py, in explorer, I can only see the question ,but cannot see the answer
when i change to run streamlit run web_demo2.py, I can see the question and the answer.
Expected Behavior
No response
Steps To Reproduce
python web_demo.py
streamlit run web_demo2.py
Environment
- OS:windows 11
- Python:3.8 conda
- Transformers:4.26.1
- PyTorch:1.11
- CUDA Support (`python -c "import torch; print(torch.cuda.is_available())"`) :True
Is there an existing issue for this?
Current Behavior
when i run python web_demo.py, in explorer, I can only see the question ,but cannot see the answer when i change to run streamlit run web_demo2.py, I can see the question and the answer.
Expected Behavior
No response
Steps To Reproduce
python web_demo.py![image](https://github.com/THUDM/ChatGLM-6B/assets/63148804/520711c1-9947-4dcb-9b2e-1a22ced25472)
streamlit run web_demo2.py
Environment
Anything else?
No response