Spaces:
Sleeping
Sleeping
Strauss Cunha Carvalho
commited on
Commit
·
b46b626
1
Parent(s):
34ea574
dev:sqlite
Browse files
app.py
CHANGED
|
@@ -1,13 +1,16 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
import sqlite3
|
| 3 |
import pandas as pd
|
|
|
|
| 4 |
|
| 5 |
|
| 6 |
x = st.slider('Select a value')
|
| 7 |
st.write(x, 'squared is', x * x)
|
| 8 |
|
|
|
|
| 9 |
|
| 10 |
-
|
|
|
|
| 11 |
sql = """SELECT alu_id, alu_nome, alu_uf, alu_cep, progresso_alfabetizacao, idade FROM tb_students
|
| 12 |
WHERE progresso_alfabetizacao >= 6 LIMIT 100"""
|
| 13 |
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
import sqlite3
|
| 3 |
import pandas as pd
|
| 4 |
+
import os
|
| 5 |
|
| 6 |
|
| 7 |
x = st.slider('Select a value')
|
| 8 |
st.write(x, 'squared is', x * x)
|
| 9 |
|
| 10 |
+
st.info(os.getcwd())
|
| 11 |
|
| 12 |
+
|
| 13 |
+
conn = sqlite3.connect("strauss-oak/afa-bd/afa-bd.db")
|
| 14 |
sql = """SELECT alu_id, alu_nome, alu_uf, alu_cep, progresso_alfabetizacao, idade FROM tb_students
|
| 15 |
WHERE progresso_alfabetizacao >= 6 LIMIT 100"""
|
| 16 |
|