Created
June 22, 2021 09:27
-
-
Save AntoineToubhans/0aa0fbf151d2b2ccff84edcd657b7835 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
selected_commit_a = st.selectbox( | |
"Choose commit A", | |
[commit for commit in MODELS_COMMITS], | |
format_func=lambda commit: f"{commit.hexsha[:6]} - {commit.message} - {commit.committed_datetime}", | |
) | |
selected_commit_b = st.selectbox( | |
"Choose commit B", | |
[commit for commit in MODELS_COMMITS], | |
format_func=lambda commit: f"{commit.hexsha[:6]} - {commit.message} - {commit.committed_datetime}", | |
) | |
st.write("Selected Commit A and B", selected_commit_a, "/", selected_commit_b) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment