Spaces:
Sleeping
Sleeping
Create .huggingface/space.yaml
Browse files- .huggingface/space.yaml +17 -0
.huggingface/space.yaml
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Minimal space.yaml for a Gradio Space
|
| 2 |
+
sdk: gradio
|
| 3 |
+
# Set to the required hardware for faster responses; try "cpu" or "cuda" depending on your plan
|
| 4 |
+
hardware: gpu
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
# You can set env vars in the Space settings; we provide default here
|
| 8 |
+
env:
|
| 9 |
+
HF_MODEL_ID: "teamaMohamed115/smollm-360m-code-lora"
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
# Optional title and description
|
| 13 |
+
name: SmolLM Python Code Assistant
|
| 14 |
+
sdk: gradio
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
on_launch: python app.py
|