File size: 1,781 Bytes
55bdad4
 
 
 
 
 
 
 
 
 
 
01bc063
 
 
e711da7
 
 
62d4f49
 
 
c93aaba
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7d0fe38
62d4f49
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
---
title: Sentiment Analysis App
emoji: 🤖
colorFrom: pink
colorTo: purple
sdk: streamlit
sdk_version: 1.17.0
app_file: app.py
pinned: false
---

Link to huggingface app: https://huggingface.co/spaces/saccharinedreams/sentiment-analysis-app


# cs-gy-6613-project
 Benjamin Liang's AI Project

Installation Steps


(Windows) 
Install Docker Desktop and WSL2 
Check that the WSL 2 feature are enabled. If not, enable it. https://learn.microsoft.com/en-us/windows/wsl/install. See below image for the necessary features (red underline).

![Alt text](images/feature.png?raw=true "Necessary features")

Turn on Docker Desktop and check that "Use WSL 2 based engine" is checked. It was greyed out and the default for me.

![Alt text](images/docker_settings.png?raw=true "Use WSL 2 based engine")

Select "Apply and Restart".
Open a terminal with Admin privileges, and then type "wsl.exe -l -v" to check the version. 
![Alt text](images/wsl_version.png?raw=true "WSL Version")

Install WSL extension for VS Code
Install Dev Containers extension for VS Code
Click on bottom left status showing VS Code context (local or remote)
Select "Connect to WSL". The bottom left status now shows "WSL: Ubuntu"
![Alt text](images/vscode_wsl_ubuntu.png?raw=true "VSCode WSL Ubuntu")

Type "WSL" into the terminal
Type "code .". This should open a new VS Code window. 
![Alt text](images/code_..png?raw=true "Open a new VS Code window")
![Alt text](images/new_window.png?raw=true "New window")

Extra images
![Alt text](images/ubuntu_terminal.png?raw=true "Ubuntu terminal")

Using this tutorial: https://youtu.be/pTFZFxd4hOI
![Alt text](images/build_and_docker_images.png?raw=true "Build and docker images")
![Alt text](images/running_hello_docker.png?raw=true "Testing with a hello docker file")