Comments (14)
this happens in my end. In my case, Try chainlit hello
, blank page shows in my brower.
- Run Chainlit in a local server and access from my local mac.
- Chainlit's default port is already used by another app, so I used
CHAINLIT_PORT=8999 chainlit hello
- Even I stop another app which uses port 8000 and run
chainlit hello
, results are same. - Reloading does not solve. Test with Chrome, Safari, and Edge, results are all same.
- Chainlit's default port is already used by another app, so I used
- Run Chainlit in VSCode devcontainer + Docker with my local mac,
chainlit hello
works.
My local server: Ubuntu 22.04. Python-3.10.11 with pyenv-virtualenv.
from chainlit.
OS: macOS
I use custom host locally
There is no error message in the terminal and the page.
when I adjust the parameter 'async_mode' :
'''
socketio = SocketIO(
app,
cors_allowed_origins="*",
async_mode="threading",#here, default = "gevent",
max_http_buffer_size=1000000 * 100,
)
'''
show as below:
from chainlit.
OS: macOS
I use custom host locally
There is no error message in the terminal and the page.
when I adjust the parameter 'async_mode' : ''' socketio = SocketIO( app, cors_allowed_origins="*", async_mode="threading",#here, default = "gevent", max_http_buffer_size=1000000 * 100, ) ''' show as below:
So changing the async mode fixes it? That's weird. Also what happens if you try with the default host (not passing --host)? Can you ping on me on discord? It will be easier to go through the problem if that works for you!
from chainlit.
Hello, I would need more info:
- What OS are you running on?
- Are you using a custom host locally?
- Is there any error message in the terminal or in the browser console?
from chainlit.
Having the same issue here. Running on a linux server, no error message, just a blank page. Specifying the host and port did not help in any way.
from chainlit.
ระบบปฏิบัติการ: macOS
ฉันใช้โฮสต์ที่กำหนดเองในเครื่อง
ไม่มีข้อความแสดงข้อผิดพลาดในเทอร์มินัลและเพจ
เมื่อฉันปรับพารามิเตอร์ 'async_mode' : ''' socketio = SocketIO( app, cors_allowed_origins="*", async_mode="threading",#here, default = "gevent", max_http_buffer_size=1000000 * 100, ) ''' แสดง ดังต่อไปนี้:
from chainlit.
ระบบปฏิบัติการ: macOS
ฉันใช้โฮสต์ที่กำหนดเองในเครื่อง
ไม่มีข้อความแสดงข้อผิดพลาดในเทอร์มินัลและเพจ
เมื่อฉันปรับพารามิเตอร์ 'async_mode' : ''' socketio = SocketIO( app, cors_allowed_origins="*", async_mode="threading",#here, default = "gevent", max_http_buffer_size=1000000 * 100, ) ''' แสดง ดังต่อไปนี้:
please use english
from chainlit.
Could you try to:
- install chainlit from the wheel provided in this PR #40
- run
chainlit hello
I would like to see if the rework fix those issues. Note that this version is not merged yet. The infos to install are at the end of the PR's description.
from chainlit.
Related Issues (20)
- Azure OpenAI support HOT 3
- chainlit use graphsignal err HOT 1
- -w argument in the chainlit run command doesn't work yet HOT 3
- Ability to add additional UI component types (e. g. new tab, custom code)
- AttributeError: module 'select' has no attribute 'epoll'. HOT 2
- "Waiting for thread pool to idle before working"? HOT 1
- Cannot run on macOS HOT 2
- Streaming=True not working when i integrate Langchain. HOT 3
- Really bad memory leak HOT 3
- Error: Invalid value: File does not exist: target.py HOT 3
- Feature request: Bind Actions / Ask Users to the TextArea input menu HOT 2
- Having the same issue here. Running on a linux server, no error message, just a blank page. Specifying the host and port did not help in any way. HOT 7
- LAN SSL requirement HOT 2
- It consumes a significant amount of computer resources. HOT 12
- [Bug] Getting spammed with SSL Handshake Error when ru HOT 7
- work without any api key HOT 2
- Setting up the chainlit environment locally HOT 1
- After running the chainlit run app.py getting the error "Could not reach the server" HOT 3
- Deploy in PythonAnywhere HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chainlit.