Keira James commited on
Commit
7c6b19a
·
1 Parent(s): fbce031

Adding .gitignore, app.py, and Readme files

Browse files
Files changed (3) hide show
  1. .gitignore +0 -0
  2. README.md +0 -14
  3. app.py +5 -0
.gitignore ADDED
File without changes
README.md CHANGED
@@ -1,14 +0,0 @@
1
- ---
2
- title: CodeMentor
3
- emoji: 📚
4
- colorFrom: green
5
- colorTo: purple
6
- sdk: streamlit
7
- sdk_version: 1.42.0
8
- app_file: app.py
9
- pinned: false
10
- license: apache-2.0
11
- short_description: CodeMentor:Coding interview concepts explained interactively
12
- ---
13
-
14
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app.py ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ import streamlit as st
2
+
3
+ x = st.slider('Select a value')
4
+ st.write(x, 'squared is', x * x)
5
+