Update repochat/git.py
Browse files- repochat/git.py +7 -6
repochat/git.py
CHANGED
|
@@ -26,12 +26,13 @@ def git_form(repo_path):
|
|
| 26 |
st.markdown("## 🔗 GitHub Repository")
|
| 27 |
st.caption("Paste any public GitHub repo URL below.")
|
| 28 |
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
|
|
|
| 35 |
|
| 36 |
if submitted:
|
| 37 |
if not git_url.strip():
|
|
|
|
| 26 |
st.markdown("## 🔗 GitHub Repository")
|
| 27 |
st.caption("Paste any public GitHub repo URL below.")
|
| 28 |
|
| 29 |
+
git_url = st.text_input(
|
| 30 |
+
"Repository URL",
|
| 31 |
+
placeholder="https://github.com/owner/repo",
|
| 32 |
+
key="github_url_input",
|
| 33 |
+
)
|
| 34 |
+
|
| 35 |
+
submitted = st.button("🚀 Load Repository", use_container_width=True)
|
| 36 |
|
| 37 |
if submitted:
|
| 38 |
if not git_url.strip():
|