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)