Skip to content

Commit

Permalink
maxlength removed
Browse files Browse the repository at this point in the history
  • Loading branch information
rag2111 committed May 14, 2024
1 parent 309b920 commit d00dec0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/AIHub/Views/ContentSafety/JailbreakDetection.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<div class="tab-pane show active" id="basic-form-preview" role="tabpanel">
<div class="mb-3">
<label for="text" class="form-label">Prompt:</label>
<textarea class="form-control" id="text" name="text" maxlength="225"
<textarea class="form-control" id="text" name="text"
rows="3">@Model?.Prompt</textarea>
</div>
<button type="submit" class="btn btn-primary" onclick="submitForm()">Evaluate
Expand Down
2 changes: 1 addition & 1 deletion src/AIHub/Views/ContentSafety/TextModerator.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
<div class="tab-pane show active" id="basic-form-preview" role="tabpanel">
<div class="mb-3">
<label for="text" class="form-label">Text:</label>
<textarea class="form-control" id="text" name="text" maxlength="225" rows="3">@Model?.Text</textarea>
<textarea class="form-control" id="text" name="text" rows="3">@Model?.Text</textarea>
</div>
<button type="submit" class="btn btn-primary" onclick="submitForm()">Evaluate Text</button>
<button type="button" class="btn btn-info btn-right" onclick="loadExample2()">Example 2</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<form asp-controller="DocumentComparison" asp-action="UploadFile" method="post" enctype="multipart/form-data" id="upload-form" class="dropzone" data-plugin="dropzone" data-previews-container="#file-previews" data-upload-preview-template="#uploadPreviewTemplate">
<div class="mb-3">
<label class="form-label">Prompt:</label>
<textarea class="form-control" id="prompt" name="prompt" maxlength="225" rows="3"> @(Model?.Prompt ?? "Compare the two documents provided, and detail their differences.") </textarea>
<textarea class="form-control" id="prompt" name="prompt" rows="3"> @(Model?.Prompt ?? "Compare the two documents provided, and detail their differences.") </textarea>
</div>
<div class="tab-content form-control">
<div class="tab-pane show active" id="file-upload-preview">
Expand Down
2 changes: 1 addition & 1 deletion src/AIHub/Views/ImageAnalyzer/ImageAnalyzer.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

<div class="mb-3">
<label for="text" class="form-label">Prompt:</label>
<textarea class="form-control" id="text" name="text" maxlength="225"
<textarea class="form-control" id="text" name="text"
rows="3">@(Model.Prompt ?? "Describe the image in detail")</textarea>
</div>
<div class="tab-content form-control">
Expand Down
2 changes: 1 addition & 1 deletion src/AIHub/Views/VideoAnalyzer/VideoAnalyzer.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

<div class="mb-3">
<label for="text" class="form-label">Prompt:</label>
<textarea class="form-control" id="text" name="text" maxlength="225"
<textarea class="form-control" id="text" name="text"
rows="3">@(Model.Prompt ?? "Describe the video in detail")</textarea>
</div>
<div class="tab-content form-control">
Expand Down

0 comments on commit d00dec0

Please sign in to comment.