joulammous commited on
Commit
d79122c
·
unverified ·
2 Parent(s): 68cca07 1cd4525

Merge pull request #2 from joulammous/milestone-2

Browse files
Files changed (3) hide show
  1. README.md +10 -0
  2. app.py +14 -0
  3. requirements.txt +3 -0
README.md CHANGED
@@ -1,3 +1,13 @@
 
 
 
 
 
 
 
 
 
 
1
  # milestone-1
2
  I installed WSL2 and used the extension in VSCode for remote development. I am using Ubuntu for the Linux distribtion and I created a virtual enviroment for the project.
3
  I didn't install Docker becuase as of now, Windows defender is detecting a virus from the Docker file and it's not allowing the installation.
 
1
+ ---
2
+ title: Patent Project
3
+ emoji: 😎
4
+ colorFrom: pink
5
+ colorTo: indigo
6
+ sdk: streamlit
7
+ sdk_version: 1.17.0
8
+ app_file: app.py
9
+ pinned: false
10
+ ---
11
  # milestone-1
12
  I installed WSL2 and used the extension in VSCode for remote development. I am using Ubuntu for the Linux distribtion and I created a virtual enviroment for the project.
13
  I didn't install Docker becuase as of now, Windows defender is detecting a virus from the Docker file and it's not allowing the installation.
app.py ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ # Libraries
3
+
4
+ import streamlit as st
5
+ import tensorflow as tf
6
+ from transformers import pipeline
7
+
8
+ # Milestone 2
9
+
10
+ sentiment_pipeline = pipeline("sentiment-analysis", model = "siebert/sentiment-roberta-large-english")
11
+ data = ["I love you", "I hate you"]
12
+ sentiment_pipeline(data)
13
+
14
+
requirements.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ streamlit
2
+ tensorflow
3
+ transformers