Spaces:
Running
Running
update system prompt followup
Browse files
app.py
CHANGED
|
@@ -1397,7 +1397,9 @@ Removing the paragraph...
|
|
| 1397 |
{REPLACE_END}
|
| 1398 |
```
|
| 1399 |
|
| 1400 |
-
IMPORTANT:
|
|
|
|
|
|
|
| 1401 |
|
| 1402 |
# Follow-up system prompt for modifying existing transformers.js applications
|
| 1403 |
TransformersJSFollowUpSystemPrompt = f"""You are an expert web developer modifying an existing transformers.js application.
|
|
@@ -1477,7 +1479,9 @@ Fixing transformers.js CDN loading error...
|
|
| 1477 |
{REPLACE_END}
|
| 1478 |
```
|
| 1479 |
|
| 1480 |
-
IMPORTANT:
|
|
|
|
|
|
|
| 1481 |
|
| 1482 |
# Available models
|
| 1483 |
AVAILABLE_MODELS = [
|
|
|
|
| 1397 |
{REPLACE_END}
|
| 1398 |
```
|
| 1399 |
|
| 1400 |
+
IMPORTANT: Always ensure "Built with anycoder" appears as clickable text in the header/top section linking to https://huggingface.co/spaces/akhaliq/anycoder - if it's missing from the existing code, add it; if it exists, preserve it.
|
| 1401 |
+
|
| 1402 |
+
CRITICAL: For imported spaces that lack anycoder attribution, you MUST add it as part of your modifications. Add it to the header/navigation area as clickable text linking to https://huggingface.co/spaces/akhaliq/anycoder"""
|
| 1403 |
|
| 1404 |
# Follow-up system prompt for modifying existing transformers.js applications
|
| 1405 |
TransformersJSFollowUpSystemPrompt = f"""You are an expert web developer modifying an existing transformers.js application.
|
|
|
|
| 1479 |
{REPLACE_END}
|
| 1480 |
```
|
| 1481 |
|
| 1482 |
+
IMPORTANT: Always ensure "Built with anycoder" appears as clickable text in the header/top section linking to https://huggingface.co/spaces/akhaliq/anycoder - if it's missing from the existing code, add it; if it exists, preserve it.
|
| 1483 |
+
|
| 1484 |
+
CRITICAL: For imported spaces that lack anycoder attribution, you MUST add it as part of your modifications. Add it to the header/navigation area as clickable text linking to https://huggingface.co/spaces/akhaliq/anycoder"""
|
| 1485 |
|
| 1486 |
# Available models
|
| 1487 |
AVAILABLE_MODELS = [
|