Spaces:
Running
Running
Commit
·
7e71b82
1
Parent(s):
98b668c
Remove percentage display from progress indicators
Browse files- Change progress values from 0.1, 0.5, 0.9 to 0
- Only show text descriptions without percentage bar
- Keep status messages: "Evaluating with Qwen3...", "Evaluating with RWKV7...", "Generating visualization..."
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
app.py
CHANGED
|
@@ -199,7 +199,7 @@ def run_evaluation(text: str, progress=gr.Progress()):
|
|
| 199 |
|
| 200 |
try:
|
| 201 |
# Step 1: Evaluate Qwen (using cached model)
|
| 202 |
-
progress(0
|
| 203 |
result_qwen = evaluate_hf_single_sample(
|
| 204 |
_qwen_model,
|
| 205 |
_qwen_tokenizer,
|
|
@@ -208,7 +208,7 @@ def run_evaluation(text: str, progress=gr.Progress()):
|
|
| 208 |
)
|
| 209 |
|
| 210 |
# Step 2: Evaluate RWKV7 (using cached model)
|
| 211 |
-
progress(0
|
| 212 |
result_rwkv = evaluate_rwkv7_single_sample(
|
| 213 |
_rwkv_model,
|
| 214 |
_rwkv_tokenizer,
|
|
@@ -216,7 +216,7 @@ def run_evaluation(text: str, progress=gr.Progress()):
|
|
| 216 |
)
|
| 217 |
|
| 218 |
# Step 3: Generate visualization
|
| 219 |
-
progress(0
|
| 220 |
html = generate_comparison_html(
|
| 221 |
text=text,
|
| 222 |
byte_losses_a=result_qwen["byte_wise_losses"],
|
|
|
|
| 199 |
|
| 200 |
try:
|
| 201 |
# Step 1: Evaluate Qwen (using cached model)
|
| 202 |
+
progress(0, desc="Evaluating with Qwen3...")
|
| 203 |
result_qwen = evaluate_hf_single_sample(
|
| 204 |
_qwen_model,
|
| 205 |
_qwen_tokenizer,
|
|
|
|
| 208 |
)
|
| 209 |
|
| 210 |
# Step 2: Evaluate RWKV7 (using cached model)
|
| 211 |
+
progress(0, desc="Evaluating with RWKV7...")
|
| 212 |
result_rwkv = evaluate_rwkv7_single_sample(
|
| 213 |
_rwkv_model,
|
| 214 |
_rwkv_tokenizer,
|
|
|
|
| 216 |
)
|
| 217 |
|
| 218 |
# Step 3: Generate visualization
|
| 219 |
+
progress(0, desc="Generating visualization...")
|
| 220 |
html = generate_comparison_html(
|
| 221 |
text=text,
|
| 222 |
byte_losses_a=result_qwen["byte_wise_losses"],
|