Open jarroddavis68 opened 1 month ago
Off the topic: Love your Pascal code. I am just wondering why are you using it. It would be a good choice if there is a Markdown component.
Off the topic: Love your Pascal code. I am just wondering why are you using it. It would be a good choice if there is a Markdown component.
Thx. I've been using pascal since 1986. It's my default language. So, I have to extra pain of doing the header conversion and trying to keep everything updated. I have scripts to automate most things so it's not too bad now.
Here is a quick video. The delay between first click and response is the just the model loading. But with each query, it starts to get slower and more sluggish. If I had continued (need to keep vid under 10mb) it would have been a very, very long delay between responses.
BTW, there is a markdown viewer component that I plan to use eventually.
https://github.com/user-attachments/assets/24075b7b-d928-4484-b6ef-cbd22d2a72de
begin Result := False;
try // check if inference is already runnig if FInference.Active then begin SetError('[%s] Inference already active', ['RunInference']); Exit; end;
except on E: Exception do begin SetError(E.Message); Exit; end; end; end;