rcs3 commited on
Commit
4f2ac0a
·
verified ·
1 Parent(s): 5796d6d

Update repochat/git.py

Browse files
Files changed (1) hide show
  1. 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
- with st.form("git_form"):
30
- git_url = st.text_input(
31
- "Repository URL",
32
- placeholder="https://github.com/owner/repo",
33
- )
34
- submitted = st.form_submit_button("🚀 Load Repository", use_container_width=True)
 
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():