Spaces:
Runtime error
Runtime error
File size: 332 Bytes
a8c4fcf 8aa62f1 a8c4fcf |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
#[derive(Debug, Clone, serde::Deserialize, utoipa::ToSchema)]
pub struct VectorizedKeyframeRequestDto {
prompt: String,
top_k: u64,
// object_threshold: f64,
}
impl VectorizedKeyframeRequestDto {
pub fn prompt(&self) -> &str {
&self.prompt
}
pub fn top_k(&self) -> u64 {
self.top_k
}
}
|