fffiloni commited on
Commit
2ef87b0
Β·
verified Β·
1 Parent(s): 61c6c9a

Upload index.html

Browse files
Files changed (1) hide show
  1. web/index.html +35 -39
web/index.html CHANGED
@@ -120,6 +120,40 @@
120
  </section>
121
  </section>
122
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
123
  <section class="panel runs-explorer-panel" id="runsExplorerPanel">
124
  <div class="section-head compact">
125
  <div><span class="panel-icon">☰</span><h2>Runs Explorer</h2></div>
@@ -162,45 +196,7 @@
162
  <div class="blockers" id="selectedBlockers" hidden></div>
163
  </section>
164
  </section>
165
- </section>
166
-
167
- <section class="panel space-test-panel" id="spaceTestSection">
168
- <div class="space-test-grid">
169
- <div>
170
- <div class="section-head compact"><div><span class="panel-icon">βš—</span><h2>Space Test</h2></div></div>
171
- <div class="form-grid test-top-row">
172
- <label>Target Space ID<input id="validateSpace" placeholder="fffiloni/my-llama-31-8b-demo" /></label>
173
- <label>API name<input id="validateApi" value="/predict" /></label>
174
- <label>Expected output type<select id="expectedOutput"><option value="text">Text</option><option value="image">Image</option><option value="video">Video</option><option value="audio">Audio</option><option value="any">Any</option></select></label>
175
- <label>Timeout (s)<input id="validateTimeout" value="60" /></label>
176
- </div>
177
- <div class="editor-grid">
178
- <label>Test args (JSON)<textarea id="testArgs" rows="7">[
179
- {
180
- "inputs": "Explain the concept of agentic AI in one paragraph."
181
- }
182
- ]</textarea></label>
183
- <label>Test kwargs (JSON)<textarea id="testKwargs" rows="7">{
184
- "max_new_tokens": 128,
185
- "temperature": 0.2
186
- }</textarea></label>
187
- </div>
188
- </div>
189
-
190
- <div class="validation-result-card" id="spaceTestPreview">
191
- <div class="validation-grid">
192
- <div><span>Validation status</span><strong><span class="badge neutral" id="spaceTestStatus">Pending</span></strong></div>
193
- <div><span>Latency</span><strong>β€”</strong></div>
194
- <div><span>Validation run ID</span><strong id="spaceTestOutput">β€”</strong></div>
195
- <div><span>Started at</span><strong id="lastPolled">β€”</strong></div>
196
- <div><span>Verdict</span><strong id="spaceTestVerdict">pending</strong></div>
197
- </div>
198
- <button class="primary full" id="launchValidate">Launch validation</button>
199
- </div>
200
- </div>
201
- </section>
202
-
203
- <div class="support-elements" hidden>
204
  <input id="runSearch" />
205
  <input id="runId" />
206
  <textarea id="buildGoal"></textarea>
 
120
  </section>
121
  </section>
122
 
123
+
124
+ <section class="panel space-test-panel" id="spaceTestSection">
125
+ <div class="space-test-grid">
126
+ <div>
127
+ <div class="section-head compact"><div><span class="panel-icon">βš—</span><h2>Space Test</h2></div></div>
128
+ <p class="muted validation-help">Validation launches a separate validation run for an existing Space. It does not replace the current Active Run unless you select it from the Runs Explorer. Test kwargs are endpoint-specific; the validation Job inspects the Gradio API schema and ignores unsupported kwargs with a warning.</p>
129
+ <div class="form-grid test-top-row">
130
+ <label>Target Space ID<input id="validateSpace" placeholder="fffiloni/my-llama-31-8b-demo" /></label>
131
+ <label>API name<input id="validateApi" value="/predict" /></label>
132
+ <label>Expected output type<select id="expectedOutput"><option value="text">Text</option><option value="image">Image</option><option value="video">Video</option><option value="audio">Audio</option><option value="any">Any</option></select></label>
133
+ <label>Timeout (s)<input id="validateTimeout" value="60" /></label>
134
+ </div>
135
+ <div class="editor-grid">
136
+ <label>Test args (JSON array)<textarea id="testArgs" rows="7">[
137
+ "Explain the concept of agentic AI in one paragraph."
138
+ ]</textarea></label>
139
+ <label>Test kwargs (JSON object)<textarea id="testKwargs" rows="7">{}</textarea></label>
140
+ </div>
141
+ </div>
142
+
143
+ <div class="validation-result-card" id="spaceTestPreview">
144
+ <div class="validation-grid">
145
+ <div><span>Validation status</span><strong><span class="badge neutral" id="spaceTestStatus">Pending</span></strong></div>
146
+ <div><span>Latency</span><strong>β€”</strong></div>
147
+ <div><span>Validation run ID</span><strong id="spaceTestOutput">β€”</strong></div>
148
+ <div><span>Started at</span><strong id="lastPolled">β€”</strong></div>
149
+ <div><span>Verdict</span><strong id="spaceTestVerdict">pending</strong></div>
150
+ </div>
151
+ <button class="primary full" id="launchValidate">Launch validation</button>
152
+ </div>
153
+ </div>
154
+ </section>
155
+
156
+
157
  <section class="panel runs-explorer-panel" id="runsExplorerPanel">
158
  <div class="section-head compact">
159
  <div><span class="panel-icon">☰</span><h2>Runs Explorer</h2></div>
 
196
  <div class="blockers" id="selectedBlockers" hidden></div>
197
  </section>
198
  </section>
199
+ </section><div class="support-elements" hidden>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
200
  <input id="runSearch" />
201
  <input id="runId" />
202
  <textarea id="buildGoal"></textarea>