Application on Streamlit to chat with any Text, Image, Audio, Document Inputs. The following formats are supported by this application:
Document formats:
- PDF - application/pdf
- JavaScript - application/x-javascript, text/javascript
- Python - application/x-python, text/x-python
- TXT - text/plain
- HTML - text/html
- CSS - text/css
- Markdown - text/md
- CSV - text/csv
- XML - text/xml
- RTF - text/rtf
Images:
- PNG - image/png
- JPEG - image/jpeg
- WEBP - image/webp
- HEIC - image/heic
- HEIF - image/heif
Audio:
- WAV - audio/wav
- MP3 - audio/mp3
- AIFF - audio/aiff
- AAC - audio/aac
- OGG Vorbis - audio/ogg
- FLAC - audio/flac
This project is initialized using pdm
. To learn more about pdm
, please refer to the pdm documentation.
-
Install
pdm
:pip install pdm
-
Initialize the project:
pdm init
-
Install the required dependencies:
pdm install
-
Create a .env file in the root of your repository and include the following:
GOOGLE_API_KEY=<YOUR_API_KEY>
To run the Streamlit application, use the following command:
pdm run streamlit run app.py