Spaces:
Runtime error
Runtime error
Commit
·
b43ae42
1
Parent(s):
ace2c57
:sparkles: add another snippet
Browse files
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 |
+
[]({colab_url})
|
| 28 |
+
```
|
| 29 |
+
""")
|