Brian Morin commited on
Commit
042b900
1 Parent(s): caf96b2

Add application file

Browse files
Files changed (1) hide show
  1. app.py +17 -0
app.py ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+
3
+ # ran this on command line first in directory where I am putting app.py: git clone https://huggingface.co/spaces/brdemorin/chat
4
+
5
+ x = st.slider('Select a value')
6
+ st.write(x, 'squared is', x * x)
7
+
8
+
9
+ # change directory in command line to: C:\Users\brian.morin\Documents\HuggingFace
10
+
11
+ # then do the below to commit and push:
12
+
13
+ """
14
+ git add app.py
15
+ git commit -m "Add application file"
16
+ git push
17
+ """