Team Ai
Apppublic

vm567/sentiment-analysis-app

sourceHugging Faceupdated 3y agoView on Hugging Face
0likes
App README

Project

What is hugging face space ? It is a platform to deploy streamlit or gradio based application

things that will be using in this project - github.com tpo host the code base hugging stream face - to host the web application github.dev - to edit the code base

process - write code - push to github - then the codebase to be deployed to hugging face

Code

  • —created a virtual env to install necessary libraries ( in vscode use command ctrl+shift+p and enter python create environment) vscode automatically creates a virtual environment for us
  • —install necessary libraries
  • —write all the libraries in a file (cmnd pip freeze > requirements.txt)
  • —create a file name app.py
  • —push the code to your feature branch
  • —follow this link for more reference https://huggingface.co/docs/hub/spaces-github-actions
  • —URL to the deployed application----- https://huggingface.co/spaces/vm567/sentiment-analysis-app

Docker project

Docker installation

  1. 1.Firstly, Install dockers application(latest) from google.
  1. 1.ss 1 Go to settings, select general and check for the WSL which was selected by default in my system
  2. 2.Update the WSL to the latest version. Reference: "https://code.visualstudio.com/docs/remote/wsl-tutorial" and " https://docs.docker.com/desktop/windows/wsl/" ss 2
  1. 1.Now, install Ubuntu
  2. 2.Open the Visual Studio code and download the WSL extension pack and then install remote control development extension pack which sets up a development environment for the system. Click ctrl+shift+p and connect to "WSL : connect to the default distro"
  3. 3.Now, open terminal and write "code ."ss3