EmTpro01 commited on
Commit
0883580
·
verified ·
1 Parent(s): 4312b6d

Update app/config.py

Browse files
Files changed (1) hide show
  1. 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 = "your-model-name"
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"