Spaces:
Sleeping
Sleeping
Claude Claude Opus 4.8 commited on
Commit Β·
327be13
1
Parent(s): b3c77b3
Clarify API-key field accepts Parley keys
Browse filesThe key input already accepts either an Anthropic (sk-ant-β¦) or MIT
Parley (sk-parley-β¦) key β routing is by prefix, and the only client
check is non-empty. The placeholder said "sk-ant-β¦", making it look
Anthropic-only. Update the label and placeholder on both the video and
images pages, and note the Parley auto-routing.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EM8jiYxdVFy1w3LeJ9GBJg
- app/templates/images.html +3 -3
- app/templates/index.html +2 -2
app/templates/images.html
CHANGED
|
@@ -95,9 +95,9 @@
|
|
| 95 |
</div>
|
| 96 |
|
| 97 |
<div class="field">
|
| 98 |
-
<label for="anthropic_api_key">Anthropic API key <small>β enables the AI features below</small></label>
|
| 99 |
-
<input type="password" id="anthropic_api_key" name="anthropic_api_key" autocomplete="off" placeholder="sk-ant-β¦">
|
| 100 |
-
<p class="hint">Optional. Used only for this run, never stored. Without
|
| 101 |
</div>
|
| 102 |
</div>
|
| 103 |
|
|
|
|
| 95 |
</div>
|
| 96 |
|
| 97 |
<div class="field">
|
| 98 |
+
<label for="anthropic_api_key">Anthropic or MIT Parley API key <small>β enables the AI features below</small></label>
|
| 99 |
+
<input type="password" id="anthropic_api_key" name="anthropic_api_key" autocomplete="off" placeholder="sk-ant-β¦ or sk-parley-β¦">
|
| 100 |
+
<p class="hint">Optional. Used only for this run, never stored. A Parley key (<code>sk-parley-β¦</code>) is routed to MIT Parley automatically. Without a key the guide is built from the images + transcript alone.</p>
|
| 101 |
</div>
|
| 102 |
</div>
|
| 103 |
|
app/templates/index.html
CHANGED
|
@@ -939,10 +939,10 @@
|
|
| 939 |
</div>
|
| 940 |
|
| 941 |
<div class="vgm-field">
|
| 942 |
-
<label for="anthropic_api_key">Anthropic API key <span class="vgm-field__optional">β enables AI features</span></label>
|
| 943 |
<input type="password" id="anthropic_api_key" name="anthropic_api_key"
|
| 944 |
autocomplete="off" spellcheck="false"
|
| 945 |
-
placeholder="sk-ant-β¦">
|
| 946 |
<small>π Used once for this run β sent over HTTPS, held in memory only, never written to disk or logs.</small>
|
| 947 |
</div>
|
| 948 |
|
|
|
|
| 939 |
</div>
|
| 940 |
|
| 941 |
<div class="vgm-field">
|
| 942 |
+
<label for="anthropic_api_key">Anthropic or MIT Parley API key <span class="vgm-field__optional">β enables AI features</span></label>
|
| 943 |
<input type="password" id="anthropic_api_key" name="anthropic_api_key"
|
| 944 |
autocomplete="off" spellcheck="false"
|
| 945 |
+
placeholder="sk-ant-β¦ or sk-parley-β¦">
|
| 946 |
<small>π Used once for this run β sent over HTTPS, held in memory only, never written to disk or logs.</small>
|
| 947 |
</div>
|
| 948 |
|