Spaces:
Sleeping
Sleeping
space.yaml
Browse files- space.yaml +9 -0
space.yaml
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# space.yaml
|
| 2 |
+
# Defines the hardware and port settings
|
| 3 |
+
hardware: cpu-basic
|
| 4 |
+
# The RoBERTa model is large. If the build fails (OOM error),
|
| 5 |
+
# you may need to apply for a GPU/CPU upgrade, but start with the free tier.
|
| 6 |
+
|
| 7 |
+
# Sets the internal port. Hugging Face expects the app to run on 7860.
|
| 8 |
+
# This must match the port specified in your Dockerfile's CMD command.
|
| 9 |
+
app_port: 7860
|