Update ipython_start/startup.py
Browse files- ipython_start/startup.py +10 -1
ipython_start/startup.py
CHANGED
|
@@ -1,3 +1,12 @@
|
|
| 1 |
# This will run every time an IPython (or Jupyter) kernel starts
|
| 2 |
def hello():
|
| 3 |
-
print("Right on baby jay! Hello from IPython startup!")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# This will run every time an IPython (or Jupyter) kernel starts
|
| 2 |
def hello():
|
| 3 |
+
print("Right on baby jay! Hello from IPython startup!")
|
| 4 |
+
|
| 5 |
+
from git import Repo
|
| 6 |
+
import streamlit as st
|
| 7 |
+
import os
|
| 8 |
+
|
| 9 |
+
if os.path.exists('./workstatml'):
|
| 10 |
+
pass
|
| 11 |
+
else:
|
| 12 |
+
Repo.clone_from(st.secrets['GIT_URL'],'./workstatml')
|