Update app.py
Browse files
app.py
CHANGED
|
@@ -42,7 +42,7 @@ def build_tabs():
|
|
| 42 |
gr.Markdown(f"**Dataset failed to load:** {load_error}")
|
| 43 |
for score in range(6):
|
| 44 |
with gr.Tab(f"Score {score}"):
|
| 45 |
-
examples = get_examples_by_score(score,
|
| 46 |
for i, example in enumerate(examples):
|
| 47 |
gr.Markdown(f"### Example {i+1}\n{example}")
|
| 48 |
return tabs
|
|
|
|
| 42 |
gr.Markdown(f"**Dataset failed to load:** {load_error}")
|
| 43 |
for score in range(6):
|
| 44 |
with gr.Tab(f"Score {score}"):
|
| 45 |
+
examples = get_examples_by_score(score, 5)
|
| 46 |
for i, example in enumerate(examples):
|
| 47 |
gr.Markdown(f"### Example {i+1}\n{example}")
|
| 48 |
return tabs
|