Skip to content

Commit

Permalink
update models
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinicius Vaz committed Oct 25, 2023
1 parent 5aa9c24 commit 5f028ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .domino/compiled_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
"file_path": {
"title": "File Path",
"description": "The path to the text file to process.",
"required": true,
"type": "string"
},
"model_size": {
Expand Down Expand Up @@ -121,7 +120,7 @@
}
},
"secrets_schema": null,
"source_url": "Tauffer-Consulting/ml_domino_pieces//tree/main/pieces/WhisperPiece"
"source_url": "Tauffer-Consulting/ml_domino_pieces/tree/main/pieces/WhisperPiece"
},
"TextSummarizerPiece": {
"name": "TextSummarizerPiece",
Expand Down Expand Up @@ -233,6 +232,6 @@
}
},
"secrets_schema": null,
"source_url": "Tauffer-Consulting/ml_domino_pieces//tree/main/pieces/TextSummarizerPiece"
"source_url": "Tauffer-Consulting/ml_domino_pieces/tree/main/pieces/TextSummarizerPiece"
}
}
3 changes: 1 addition & 2 deletions pieces/WhisperPiece/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ class InputModel(BaseModel):
Input data for WhisperPiece
"""
file_path: str = Field(
description='The path to the text file to process.',
required=True
description='The path to the text file to process.'
)
model_size: ModelSizeType = Field(
description='The size of the model to use.',
Expand Down

0 comments on commit 5f028ed

Please sign in to comment.