Git Product home page Git Product logo

Comments (6)

felix0307 avatar felix0307 commented on September 21, 2024 1

@ahmadassaf hello. but i checked code in your PR and i can't find there the variable avatar in message function. what is the right way to pass an image-url now?

from st-chat.

mohamedjihedriahi avatar mohamedjihedriahi commented on September 21, 2024 1

@ahmadassaf Yo (x3) ! I'd like to bring to your attention that the "avatar" parameter has not been added yet.

from st-chat.

xiuwei1026 avatar xiuwei1026 commented on September 21, 2024

Vote for this. It would be awesome to use own images rather then the avatars.

from st-chat.

ahmadassaf avatar ahmadassaf commented on September 21, 2024

made a quick PR for this; can be further optimized but does the job for me now #34

from st-chat.

ahmadassaf avatar ahmadassaf commented on September 21, 2024

Can be closed now in as #34 is merged

from st-chat.

PascalHessler avatar PascalHessler commented on September 21, 2024

Actualy it is intergated but the react component is not builded/updated yet. Here is a tempory solution which works for me:

Instructions to generate the newest build:

  1. fork this repo
  2. go to streamlit_chat/init.py and change "_RELEASE" to True
  3. (make additional changes to the repo)
  4. Since the original repo does not have the newest builded version of the react component we have to build a new one:
  5. go to streamlit_chat\frontend
  6. run npm install
  7. run npm run build
  8. Push everything to your repo
  9. now you created your own python package and you can install it with pip install git+https://your_repo

from st-chat.

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.