import streamlit as st from lib import config st.set_page_config( page_title=f"Home - {config.title}", page_icon=config.logo, layout=config.layout, ) # sidebar st.logo(config.logo) # title st.html("""
Explore popular generative AI endpoints.
""") st.markdown("## Tasks") st.page_link("pages/1_💬_Text_Generation.py", label="Text Generation", icon="💬") st.page_link("pages/2_🎨_Text_to_Image.py", label="Text to Image", icon="🎨") st.markdown(""" ## Services - [Anthropic](https://docs.anthropic.com/en/api/getting-started) - [Black Forest Labs](https://docs.bfl.ml) - [fal.ai](https://fal.ai/docs) - [Hugging Face](https://huggingface.co./docs/api-inference/index) - [OpenAI](https://platform.openai.com/docs/api-reference/introduction) - [Perplexity](https://docs.perplexity.ai/home) - [together.ai](https://docs.together.ai/docs/introduction) """) st.markdown(""" ## Usage Select a task. Choose a service. Enter your API key (refresh browser to clear). 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). """)