Spaces:
Paused
Paused
| import gradio as gr | |
| with gr.Blocks( | |
| title="💬 SmolLM Instruct", | |
| css="footer {display: none !important}", | |
| theme=gr.themes.Base( | |
| primary_hue="red", | |
| secondary_hue="red", | |
| neutral_hue="neutral" | |
| ) | |
| ) as app: | |
| gr.Markdown("# 💬 SmolLM Instruct") | |
| gr.load("models/HuggingFaceTB/SmolLM2-1.7B-Instruct") | |
| with gr.Accordion("ℹ️ About", open=False): | |
| gr.Markdown(f""" | |
| * Created by [🍒 cherry-ghosts community](https://hf.co/cherry-ghosts) | |
| * Powered by [🤗 Inference API](https://hf.co/docs/api-inference) | |
| * Running on [Gradio](https://gradio.app) v{gr.__version__} | |
| """) | |
| if __name__ == "__main__": | |
| app.queue().launch(debug=True, ssr_mode=False) |