Spaces:
Sleeping
Sleeping
Update app/config.py
Browse files- app/config.py +10 -10
app/config.py
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
-
# app/config.py
|
2 |
-
from pydantic_settings import BaseSettings
|
3 |
-
|
4 |
-
class Settings(BaseSettings):
|
5 |
-
MODEL_NAME: str = "
|
6 |
-
MAX_LENGTH: int = 512
|
7 |
-
TEMPERATURE: float = 0.7
|
8 |
-
TOP_P: float = 0.9
|
9 |
-
|
10 |
-
class Config:
|
11 |
env_file = ".env"
|
|
|
1 |
+
# app/config.py
|
2 |
+
from pydantic_settings import BaseSettings
|
3 |
+
|
4 |
+
class Settings(BaseSettings):
|
5 |
+
MODEL_NAME: str = "flax-community/t5-recipe-generation"
|
6 |
+
MAX_LENGTH: int = 512
|
7 |
+
TEMPERATURE: float = 0.7
|
8 |
+
TOP_P: float = 0.9
|
9 |
+
|
10 |
+
class Config:
|
11 |
env_file = ".env"
|