Spaces:
Running
Running
Upload 3 files
Browse files- app.js +2 -2
- index.html +3 -3
- styles.css +1 -1
app.js
CHANGED
|
@@ -2,7 +2,7 @@ const MOTION_LAW_NAMES = ["harmonic", "cycloid", "poly345", "poly4567"];
|
|
| 2 |
|
| 3 |
const LOCAL_MODE = window.CAM_STUDIO_LOCAL === true;
|
| 4 |
const COREGX_PROXY_URL = String(window.CAM_STUDIO_CONFIG?.coregxProxyUrl || "").trim();
|
| 5 |
-
const BUILD_ID = "20260922-
|
| 6 |
|
| 7 |
const TEMPLATES = {
|
| 8 |
recip_flat: {
|
|
@@ -158,7 +158,7 @@ async function proxyFetch(route, options) {
|
|
| 158 |
|
| 159 |
async function generateBody(description, templateName) {
|
| 160 |
const systemPrompt = await textFile("system_prompt.txt");
|
| 161 |
-
setStatus("
|
| 162 |
const response = await proxyFetch("generate", {
|
| 163 |
method: "POST",
|
| 164 |
headers: { "Content-Type": "application/json" },
|
|
|
|
| 2 |
|
| 3 |
const LOCAL_MODE = window.CAM_STUDIO_LOCAL === true;
|
| 4 |
const COREGX_PROXY_URL = String(window.CAM_STUDIO_CONFIG?.coregxProxyUrl || "").trim();
|
| 5 |
+
const BUILD_ID = "20260922-9";
|
| 6 |
|
| 7 |
const TEMPLATES = {
|
| 8 |
recip_flat: {
|
|
|
|
| 158 |
|
| 159 |
async function generateBody(description, templateName) {
|
| 160 |
const systemPrompt = await textFile("system_prompt.txt");
|
| 161 |
+
setStatus("Converting to CoreGX using Qwen2.5-Coder-7B-Instruct…");
|
| 162 |
const response = await proxyFetch("generate", {
|
| 163 |
method: "POST",
|
| 164 |
headers: { "Content-Type": "application/json" },
|
index.html
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1">
|
| 6 |
<meta name="description" content="Generate animated CoreGX cam mechanisms in your browser.">
|
| 7 |
<title>CoreGX Cam Studio</title>
|
| 8 |
-
<link rel="stylesheet" href="styles.css?v=20260922-
|
| 9 |
</head>
|
| 10 |
<body>
|
| 11 |
<main class="page">
|
|
@@ -53,7 +53,7 @@
|
|
| 53 |
</footer>
|
| 54 |
</main>
|
| 55 |
|
| 56 |
-
<script src="config.js?v=20260922-
|
| 57 |
-
<script type="module" src="app.js?v=20260922-
|
| 58 |
</body>
|
| 59 |
</html>
|
|
|
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1">
|
| 6 |
<meta name="description" content="Generate animated CoreGX cam mechanisms in your browser.">
|
| 7 |
<title>CoreGX Cam Studio</title>
|
| 8 |
+
<link rel="stylesheet" href="styles.css?v=20260922-9">
|
| 9 |
</head>
|
| 10 |
<body>
|
| 11 |
<main class="page">
|
|
|
|
| 53 |
</footer>
|
| 54 |
</main>
|
| 55 |
|
| 56 |
+
<script src="config.js?v=20260922-9"></script>
|
| 57 |
+
<script type="module" src="app.js?v=20260922-9"></script>
|
| 58 |
</body>
|
| 59 |
</html>
|
styles.css
CHANGED
|
@@ -254,7 +254,7 @@ textarea {
|
|
| 254 |
border-left: 3px solid var(--blue);
|
| 255 |
padding: 4px 0 4px 14px;
|
| 256 |
color: #705d86;
|
| 257 |
-
font-size: .
|
| 258 |
line-height: 1.5;
|
| 259 |
}
|
| 260 |
|
|
|
|
| 254 |
border-left: 3px solid var(--blue);
|
| 255 |
padding: 4px 0 4px 14px;
|
| 256 |
color: #705d86;
|
| 257 |
+
font-size: .96rem;
|
| 258 |
line-height: 1.5;
|
| 259 |
}
|
| 260 |
|