Giter Site home page Giter Site logo

chat-pdf's Introduction

Hi πŸ‘‹, I'm Sammriddh Gupta

Software Engineering Student | Machine Learning Enthusiast | Full Stack Developer

trophy

  • πŸ”­ I’m currently working on: A Stock Analysis DashboardπŸ€–

  • 🌱 I’m currently learning: Infrastructure as Code, React and MLOps

  • 🀝 I’m looking to collaborate on: Data Science, ML and full stack Software projects

  • 🀩 Check out my website! https://sammriddhgupta-portfolio.netlify.app/

  • πŸ“§ Reach out to me: [email protected]

  • πŸ’¬ Ask me about: Software Engineering, Machine Learning and Data Science!

  • ⚑ Fun fact: I love hackathons, nature, making fun projects, anime, reading, Marvel and keeping up with new tech, so hmu with whatever you got :)

  • πŸ‘€ Psst....despite the alarming number of Jupyter Notebooks in my repos, I have deployment experience too

Connect with me:

sammriddh-gupta-a30255202 sammriddhgupta

Languages and Tools:

c cplusplus java python haskell git linux html5 css3 aws mysql oracle nodejs express pandas scikit_learn opencv pytorch matlab unreal

Β sammriddhgupta


sammriddhgupta


sammriddhgupta

chat-pdf's People

Contributors

sammriddhgupta avatar

Watchers

 avatar  avatar

chat-pdf's Issues

Better error handling

When someone tries to chat without uploading API Key or pdf, it just shows default streamlit red failing errors, handle it more gracefully

Dark mode compatibility

If browser is in dark mode, text on page 1 and page 2 becomes white and is thus unreadable

Maybe use solid grey/light grey bg

OR easiest is to not use background at all, so by default it handles light dark mood

Create streamlit workflow on main branch and PRs

Example main.yml, needs to be edited
Need to create a requirements as well, which needs to be updated oof

name: Streamlit App CI

on:
  push:
    branches: [ main ]  # Set the branch to trigger the workflow

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2  # Checkout the repository

    - name: Set up Python
      uses: actions/setup-python@v2
      with:
        python-version: '3.8'  # Set the Python version

    - name: Install dependencies
      run: |
        python -m pip install --upgrade pip
        pip install streamlit  
        pip install -r requirements.txt  # Install other dependencies if needed

    - name: Run Streamlit app
      run: streamlit run app.py  

Embeddings from Langchain will be deprecated in 0.2.0 (future)

Getting warning:
LangChainDeprecationWarning: Importing embeddings from langchain is deprecated. Importing from langchain will no longer be supported as of langchain==0.2.0. Please import from langchain-community instead:

from langchain_community.embeddings import OpenAIEmbeddings.

To install langchain-community run `pip install -U langchain-community`.

Can fix easily, pip install langchain community, make note of it and test it is working

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.