Spaces:
Sleeping
Sleeping
Keith Bourne commited on
Commit ·
e4b51c5
1
Parent(s): 1a1eb00
Add google sheets test and requirements text
Browse files- app.py +5 -0
- requirements.txt +3 -0
app.py
CHANGED
|
@@ -2,6 +2,11 @@
|
|
| 2 |
import streamlit as st
|
| 3 |
import pandas as pd
|
| 4 |
from streamlit_gsheets import GSheetsConnection
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
|
| 6 |
# Create a connection object.
|
| 7 |
conn = st.connection("gsheets", type=GSheetsConnection)
|
|
|
|
| 2 |
import streamlit as st
|
| 3 |
import pandas as pd
|
| 4 |
from streamlit_gsheets import GSheetsConnection
|
| 5 |
+
import os
|
| 6 |
+
|
| 7 |
+
typestring = os.environ.getattribute("type")
|
| 8 |
+
|
| 9 |
+
st.write(f"type :{typestring}:")
|
| 10 |
|
| 11 |
# Create a connection object.
|
| 12 |
conn = st.connection("gsheets", type=GSheetsConnection)
|
requirements.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
streamlit
|
| 2 |
+
streamlit_gsheets
|
| 3 |
+
pandas
|