feat: closes #23
This commit is contained in:
@@ -294,7 +294,11 @@
|
||||
|
||||
{{ define "run-model-card" }}
|
||||
<form hx-headers='{"REQUEST-TYPE": "html"}' enctype="multipart/form-data" hx-post="/models/run" hx-swap="outerHTML">
|
||||
{{ if .Result }}
|
||||
{{ if .NotFound }}
|
||||
<div>
|
||||
The class was not found
|
||||
</div>
|
||||
{{ else if .Result }}
|
||||
<div>
|
||||
Img Class: {{.Result}}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user