Giter VIP home page Giter VIP logo

Comments (14)

kun432 avatar kun432 commented on June 13, 2024 1

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.
    1. Chainlit's default port is already used by another app, so I used CHAINLIT_PORT=8999 chainlit hello
    2. Even I stop another app which uses port 8000 and run chainlit hello, results are same.
    3. Reloading does not solve. Test with Chrome, Safari, and Edge, results are all same.
  • 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.

lunlu avatar lunlu commented on June 13, 2024 1

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:
image

from chainlit.

willydouhard avatar willydouhard commented on June 13, 2024 1

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: image

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.

willydouhard avatar willydouhard commented on June 13, 2024

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.

sebderhy avatar sebderhy commented on June 13, 2024

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.

SurachaiJaisan avatar SurachaiJaisan commented on June 13, 2024

ระบบปฏิบัติการ: macOS

ฉันใช้โฮสต์ที่กำหนดเองในเครื่อง

ไม่มีข้อความแสดงข้อผิดพลาดในเทอร์มินัลและเพจ

เมื่อฉันปรับพารามิเตอร์ 'async_mode' : ''' socketio = SocketIO( app, cors_allowed_origins="*", async_mode="threading",#here, default = "gevent", max_http_buffer_size=1000000 * 100, ) ''' แสดง ดังต่อไปนี้: ภาพ

from chainlit.

willydouhard avatar willydouhard commented on June 13, 2024

ระบบปฏิบัติการ: 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.

willydouhard avatar willydouhard commented on June 13, 2024

Could you try to:

  1. install chainlit from the wheel provided in this PR #40
  2. 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.