adamelliotfields
commited on
Commit
β’
170571e
1
Parent(s):
e2eab77
Fix home page links
Browse files- 0_π _Home.py +8 -7
0_π _Home.py
CHANGED
@@ -30,16 +30,17 @@ st.html("""
|
|
30 |
}
|
31 |
</style>
|
32 |
<div style="display: flex; align-items: center; gap: 0.75rem">
|
33 |
-
<h1>Playground</h1>
|
34 |
<span class="pro-badge">API</span>
|
35 |
</div>
|
36 |
-
<p>Explore popular generative AI endpoints.</p>
|
37 |
-
<a href="https://huggingface.co/spaces/adamelliotfields/playground?duplicate=true" target="_blank" rel="noopener noreferrer">
|
38 |
-
<img src="https://huggingface.co/datasets/huggingface/badges/resolve/main/duplicate-this-space-md.svg" alt="Duplicate this Space" />
|
39 |
-
</a>
|
40 |
""")
|
41 |
|
42 |
-
st.markdown("
|
|
|
|
|
|
|
|
|
|
|
43 |
st.page_link("pages/1_π¬_Text_Generation.py", label="Text Generation", icon="π¬")
|
44 |
st.page_link("pages/2_π¨_Text_to_Image.py", label="Text to Image", icon="π¨")
|
45 |
|
@@ -58,5 +59,5 @@ st.markdown("""
|
|
58 |
|
59 |
Select a task. Choose a service. Enter your API key (refresh browser to clear).
|
60 |
|
61 |
-
I recommend [duplicating this space](https://huggingface.co/spaces/adamelliotfields/playground?duplicate=true) **privately** and persisting your keys as secrets. See [`README.md`](https://huggingface.co/spaces/adamelliotfields/playground/blob/main/README.md).
|
62 |
""")
|
|
|
30 |
}
|
31 |
</style>
|
32 |
<div style="display: flex; align-items: center; gap: 0.75rem">
|
33 |
+
<h1 style="padding: 0">Playground</h1>
|
34 |
<span class="pro-badge">API</span>
|
35 |
</div>
|
|
|
|
|
|
|
|
|
36 |
""")
|
37 |
|
38 |
+
st.markdown("""
|
39 |
+
[![Duplicate this Space](https://huggingface.co/datasets/huggingface/badges/resolve/main/duplicate-this-space-md.svg)](https://huggingface.co/spaces/adamelliotfields/playground-template?duplicate=true)
|
40 |
+
|
41 |
+
## Tasks
|
42 |
+
""")
|
43 |
+
|
44 |
st.page_link("pages/1_π¬_Text_Generation.py", label="Text Generation", icon="π¬")
|
45 |
st.page_link("pages/2_π¨_Text_to_Image.py", label="Text to Image", icon="π¨")
|
46 |
|
|
|
59 |
|
60 |
Select a task. Choose a service. Enter your API key (refresh browser to clear).
|
61 |
|
62 |
+
I recommend [duplicating this space](https://huggingface.co/spaces/adamelliotfields/playground-template?duplicate=true) **privately** and persisting your keys as secrets. See [`README.md`](https://huggingface.co/spaces/adamelliotfields/playground-template/blob/main/README.md).
|
63 |
""")
|