Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,10 @@
|
|
1 |
import streamlit as st
|
|
|
2 |
|
3 |
st.set_page_config(page_title="Coding Questions App", layout="wide")
|
4 |
st.title("Welcome to the Coding Questions App!")
|
5 |
|
6 |
st.write("Use the sidebar to navigate between pages.")
|
|
|
|
|
|
|
|
1 |
import streamlit as st
|
2 |
+
from utils.save_to_hf import commit_and_push_changes
|
3 |
|
4 |
st.set_page_config(page_title="Coding Questions App", layout="wide")
|
5 |
st.title("Welcome to the Coding Questions App!")
|
6 |
|
7 |
st.write("Use the sidebar to navigate between pages.")
|
8 |
+
|
9 |
+
if st.sidebar.button("Save to HF"):
|
10 |
+
commit_and_push_changes()
|