Files
gradio-webrtc/backend/fastrtc/templates/component/chunk-XZIHB7SX-DIHERCaT.js
Freddy Boulton 1877720231 Add text mode (#321)
* Pretty good spot

* Working draft

* Fix other mode

* Add js to git

* Working

* Add code

* fix

* Fix

* Add code

* Fix submit race condition

* demo

* fix

* Fix

* Fix
2025-06-03 19:24:21 -04:00

16 lines
320 B
JavaScript

import { _ as s } from "./mermaid.core-C0Blj36u.js";
var t, e = (t = class {
/**
* @param init - Function that creates the default state.
*/
constructor(i) {
this.init = i, this.records = this.init();
}
reset() {
this.records = this.init();
}
}, s(t, "ImperativeState"), t);
export {
e as I
};