Spaces:
Sleeping
Sleeping
Update application/static/js/components/initialize.js
Browse files
application/static/js/components/initialize.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
// application/static/js/initialize.js
|
| 2 |
import requests from "./request.js";
|
| 3 |
|
| 4 |
class Initialize {
|
|
@@ -8,7 +8,6 @@ class Initialize {
|
|
| 8 |
this.uiManager = uiManager;
|
| 9 |
this.systemPrompt = `your response syntax should be: ###for heading### \n ** for sub heading ** \n *** for text highlight/bold text ***`;
|
| 10 |
this.model = null;
|
| 11 |
-
this.image_captioning = this.uiManager.image_captioning;
|
| 12 |
console.log("Initialize constructor called"); // Initial log
|
| 13 |
}
|
| 14 |
|
|
|
|
| 1 |
+
// application/static/js/components/initialize.js
|
| 2 |
import requests from "./request.js";
|
| 3 |
|
| 4 |
class Initialize {
|
|
|
|
| 8 |
this.uiManager = uiManager;
|
| 9 |
this.systemPrompt = `your response syntax should be: ###for heading### \n ** for sub heading ** \n *** for text highlight/bold text ***`;
|
| 10 |
this.model = null;
|
|
|
|
| 11 |
console.log("Initialize constructor called"); // Initial log
|
| 12 |
}
|
| 13 |
|