yourusername commited on
Commit
b43ae42
1 Parent(s): ace2c57

:sparkles: add another snippet

Browse files
Files changed (1) hide show
  1. app.py +12 -0
app.py CHANGED
@@ -15,3 +15,15 @@ Now you can copy this into your {'notebook' if nb else 'terminal'} and run:
15
  {"! " if nb else ""}pip install git+https://github.com/{repo_owner}/{repo_name}{"@" + branch_name if branch_name.strip() != "" else ""}
16
  ```
17
  """)
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  {"! " if nb else ""}pip install git+https://github.com/{repo_owner}/{repo_name}{"@" + branch_name if branch_name.strip() != "" else ""}
16
  ```
17
  """)
18
+
19
+
20
+ st.markdown('---')
21
+
22
+ st.markdown("### Colab Badge from Link")
23
+
24
+ colab_url = st.text_input("Colab URL")
25
+ st.markdown(f"""
26
+ ```
27
+ [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)]({colab_url})
28
+ ```
29
+ """)