Spaces:
Runtime error
Runtime error
#Write a streamlit program in short number of lines that has four buttons on a sidebar also with a textbox labeled Github URL. Create python code that performs the four functions with github : Pull & Read, Append and Write, Create a file on github, Delete a file on github. | |
import streamlit as st | |
st.sidebar.title('GitHub Functions') | |
url = st.sidebar.text_input("GitHub URL") | |
if st.sidebar.button("Pull & Read"): | |
# code to pull & read | |
if st.sidebar.button("Append & Write"): | |
# code to append & write | |
if st.sidebar.button("Create File"): | |
# code to create a file | |
if st.sidebar.button("Delete File"): | |
# code to delete a file |