Spaces:
Sleeping
A newer version of the Streamlit SDK is available:
1.45.0
title: Sentiment Analysis App
emoji: 😻
colorFrom: purple
colorTo: indigo
sdk: streamlit
sdk_version: 1.17.0
app_file: app.py
pinned: false
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
Firstly, Install dockers application(latest) from google.
Go to settings, select general and check for the WSL which was selected by default in my system
Update the WSL to the latest version. Reference: "https://code.visualstudio.com/docs/remote/wsl-tutorial" and " https://docs.docker.com/desktop/windows/wsl/"
Now, install Ubuntu
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"