File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -143,6 +143,10 @@ <h2 class="mb-3">Mulit-modal LLM Module Test</h2>
143
143
< div > < small > < b > Warning: </ b > LLMs can fabricate and hallucinate. < b > Always</ b > verify results.</ small > </ div >
144
144
<!-- END EXPLORER MARKUP -->
145
145
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
+
146
150
< div class ="mt-3 ">
147
151
< h2 > Status</ h2 >
148
152
< div id ="results " name ="results " class ="bg-light p-3 " style ="min-height: 100px; "> </ div >
@@ -236,12 +240,16 @@ <h2>Status</h2>
236
240
if ( done ) {
237
241
// only clear the prompt if the command is done and not canceled
238
242
// otherwise leave it so the user can modify it and re-run.
243
+ /*
239
244
if (results.stop_reason != "cancelled") {
240
245
_MID_promptText.value = "";
241
246
_MID_promptText.style.scrollHeight = 32;
242
247
_MID_promptText.style.height = "32px";
243
248
}
244
- setResultsHtml ( "Done" ) ;
249
+ */
250
+ html = getProcessingMetadataHtml ( results ) ;
251
+ setResultsHtml ( html ) ;
252
+ // setResultsHtml("Done");
245
253
}
246
254
}
247
255
else {
You can’t perform that action at this time.
0 commit comments