Jake Bowles
commited on
Commit
·
6849088
1
Parent(s):
d563d8f
add app files
Browse files- .gitignore +4 -0
- app.py +5 -0
- pyvenv.cfg +5 -0
- requirements.txt +1 -0
- share/jupyter/nbextensions/pydeck/extensionRequires.js +15 -0
- share/jupyter/nbextensions/pydeck/index.js +0 -0
- share/jupyter/nbextensions/pydeck/index.js.map +0 -0
.gitignore
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
bin
|
2 |
+
etc
|
3 |
+
lib
|
4 |
+
include
|
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 |
+
|
pyvenv.cfg
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
home = /opt/homebrew/opt/python@3.11/bin
|
2 |
+
include-system-site-packages = false
|
3 |
+
version = 3.11.6
|
4 |
+
executable = /opt/homebrew/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/bin/python3.11
|
5 |
+
command = /opt/homebrew/opt/python@3.11/bin/python3.11 -m venv /Users/jakebowles/proj/ai-playground/etai
|
requirements.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
streamlt
|
share/jupyter/nbextensions/pydeck/extensionRequires.js
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* eslint-disable */
|
2 |
+
define(function() {
|
3 |
+
'use strict';
|
4 |
+
requirejs.config({
|
5 |
+
map: {
|
6 |
+
'*': {
|
7 |
+
'@deck.gl/jupyter-widget': 'nbextensions/pydeck/index'
|
8 |
+
}
|
9 |
+
}
|
10 |
+
});
|
11 |
+
// Export the required load_ipython_extension function
|
12 |
+
return {
|
13 |
+
load_ipython_extension: function() {}
|
14 |
+
};
|
15 |
+
});
|
share/jupyter/nbextensions/pydeck/index.js
ADDED
The diff for this file is too large to render.
See raw diff
|
|
share/jupyter/nbextensions/pydeck/index.js.map
ADDED
The diff for this file is too large to render.
See raw diff
|
|