Skip to content

Commit adf32e7

Browse files
committed
Small explorer UI update
1 parent 7dc7e4c commit adf32e7

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

explore.html

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,10 @@ <h2 class="mb-3">Mulit-modal LLM Module Test</h2>
143143
<div><small><b>Warning: </b>LLMs can fabricate and hallucinate. <b>Always</b> verify results.</small></div>
144144
<!-- END EXPLORER MARKUP -->
145145

146+
<div class="w-100 position-relative form-control my-4 p-0">
147+
<img src="" id="imgPreview" class="w-100" style="height:250px;visibility:hidden">
148+
</div>
149+
146150
<div class="mt-3">
147151
<h2>Status</h2>
148152
<div id="results" name="results" class="bg-light p-3" style="min-height: 100px;"></div>
@@ -236,12 +240,16 @@ <h2>Status</h2>
236240
if (done) {
237241
// only clear the prompt if the command is done and not canceled
238242
// otherwise leave it so the user can modify it and re-run.
243+
/*
239244
if (results.stop_reason != "cancelled") {
240245
_MID_promptText.value = "";
241246
_MID_promptText.style.scrollHeight = 32;
242247
_MID_promptText.style.height = "32px";
243248
}
244-
setResultsHtml("Done");
249+
*/
250+
html = getProcessingMetadataHtml(results);
251+
setResultsHtml(html);
252+
// setResultsHtml("Done");
245253
}
246254
}
247255
else {

0 commit comments

Comments
 (0)