Skip to content

Commit

Permalink
chore(server): remove an unused type
Browse files Browse the repository at this point in the history
  • Loading branch information
RyushiAok committed Oct 30, 2023
1 parent 81b147c commit 6e0aa92
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions server/src/Api/Repositories/ML.fs
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,6 @@ open Domain.Types

type MLEnv = { ML_URL: string; timeout: TimeSpan }

type MLRequest = {
prompt: string
image: string
strength: float
is_mock: bool option
}

let inference (request: InferenceRequest) (env: MLEnv) =
http {
POST $"{env.ML_URL}/inference"
Expand Down

0 comments on commit 6e0aa92

Please sign in to comment.