Spaces:
Build error
Build error
Refactor: Redefined entire Gradio interface and updated core logic
Browse files
app.py
CHANGED
|
@@ -189,7 +189,7 @@ class OutputFormatter:
|
|
| 189 |
def create_progress_bar(score: float, width: int = 50) -> str:
|
| 190 |
"""Create progress bar"""
|
| 191 |
filled = int(score * width)
|
| 192 |
-
return f"[{'
|
| 193 |
|
| 194 |
def format_results(
|
| 195 |
self,
|
|
|
|
| 189 |
def create_progress_bar(score: float, width: int = 50) -> str:
|
| 190 |
"""Create progress bar"""
|
| 191 |
filled = int(score * width)
|
| 192 |
+
return f"[{' ' * filled}{' ' * (width - filled)}] {score:.1%}"
|
| 193 |
|
| 194 |
def format_results(
|
| 195 |
self,
|