junming-qiu commited on
Commit
45737ef
1 Parent(s): e38362e

milestone 2

Browse files
Files changed (4) hide show
  1. README.md +11 -0
  2. app.py +4 -0
  3. compose-dev.yaml +1 -0
  4. init.bash +3 -0
README.md CHANGED
@@ -1,3 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
1
  # Toxic-Tweets
2
 
3
  <h1>Motivation</h1>
 
1
+ ---
2
+ title: Toxic Tweets Milestone 2
3
+ emoji: 🐢
4
+ colorFrom: blue
5
+ colorTo: red
6
+ sdk: streamlit
7
+ sdk_version: 1.17.0
8
+ app_file: app.py
9
+ pinned: false
10
+ ---
11
+
12
  # Toxic-Tweets
13
 
14
  <h1>Motivation</h1>
app.py ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ import streamlit as st
2
+
3
+ x = st.slider('Select a value')
4
+ st.write(x, 'squared is', x * x)
compose-dev.yaml CHANGED
@@ -10,3 +10,4 @@ services:
10
  source: /var/run/docker.sock
11
  target: /var/run/docker.sock
12
 
 
 
10
  source: /var/run/docker.sock
11
  target: /var/run/docker.sock
12
 
13
+
init.bash ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ sudo apt update
2
+ sudo apt install python3-pip
3
+ pip install streamlit