Skip to content

i-pankrat/comment-visualizer-vk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

The app takes a link to a VKontakte post and visualizes its comments using a model from Hugging Face.

Run tests

python -m tests.utilsTests

How to launch:

  1. Clone reopsiroty
git clone https://github.com/i-pankrat/comment-visualizer-vk
  1. Create venv
cd comment-visualizer-vk
python -m venv venv
. venv/bin/activate
  1. Install requirements
pip install -r requirements.txt
  1. Install torch
  2. Log to hugging faces
huggingface-cli login
  1. Add your vk access token to your environment variable. Create an application in vk to get the access token. You can create app here. Then go to setttings of the created app and find the 'Service token' there. That's what you need to put insted of YOUR_ACESS_TOKEN in the command below.
export VK_ACCESS_TOKEN=YOUR_ACESS_TOKEN
  1. Start the application!
cd src/
streamlit run steamlit_app.py

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages