Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -36,12 +36,13 @@ class InputData(BaseModel):
|
|
| 36 |
max_new_tokens: int = 2000
|
| 37 |
top_p: float = 0.95
|
| 38 |
repetition_penalty: float = 1.0
|
| 39 |
-
Async: bool =
|
| 40 |
NumeroGenerazioni: int = 1
|
| 41 |
StringaSplit: str = '********'
|
| 42 |
NumeroCaratteriSplitInstruction: int = 30000
|
| 43 |
|
| 44 |
class InputDataAsync(InputData):
|
|
|
|
| 45 |
|
| 46 |
class PostSpazio(BaseModel):
|
| 47 |
nomeSpazio: str
|
|
|
|
| 36 |
max_new_tokens: int = 2000
|
| 37 |
top_p: float = 0.95
|
| 38 |
repetition_penalty: float = 1.0
|
| 39 |
+
Async: bool = False
|
| 40 |
NumeroGenerazioni: int = 1
|
| 41 |
StringaSplit: str = '********'
|
| 42 |
NumeroCaratteriSplitInstruction: int = 30000
|
| 43 |
|
| 44 |
class InputDataAsync(InputData):
|
| 45 |
+
test: str = ''
|
| 46 |
|
| 47 |
class PostSpazio(BaseModel):
|
| 48 |
nomeSpazio: str
|