Skip to content

Commit

Permalink
feat(view): add placeholder for reason field (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
nevivurn authored Sep 23, 2024
1 parent 2020416 commit 17c8d82
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 41 deletions.
6 changes: 5 additions & 1 deletion view/request.templ
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ import (
"slices"
)

const reasonPlaceholder = `Protein Language Model을 활용해 Protein의 특성을 예측하는 연구를 진행하고 있습니다. GPU 1장에서 모델 fine-tuning과 evaulation을 진행하고자 합니다.
Huggingface상의 facebook/esm2_t33_650M_UR50D (약 3GB) 및 facebook/esm2_t36_3B_UR50D (약 11GB) 두 모델 종류를 사용합니다.
모델을 fine-tuning하고, 스토리지에 원본 및 fine-tuned weight를 저장할 필요가 있어 150GiB를 요청드립니다.`

templ PageRequestForm() {
@page("Workspace Request Form") {
<h1 class="mb-4 text-xl font-bold">Workspace request form</h1>
Expand All @@ -20,7 +24,7 @@ templ PageRequestForm() {
}
</select>
<label class={ "col-start-1", classLabel } for="userdata">Reason</label>
<textarea class="resize-none" id="userdata" name="userdata" rows="10" required></textarea>
<textarea class="resize-none" id="userdata" name="userdata" rows="10" placeholder={ reasonPlaceholder } required></textarea>
@reqQuotaInput("GPUs", "quota-gpu", "")
@reqQuotaInput("Storage", "quota-storage", "GiB")
<p class="col-start-2 text-sm text-gray-500">
Expand Down
97 changes: 57 additions & 40 deletions view/request_templ.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 17c8d82

Please sign in to comment.