Spaces:
Paused
Paused
File size: 736 Bytes
158f9d8 91b7faf 158f9d8 91b7faf 25e9ccc 158f9d8 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
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) |