Update app.py
Browse files
app.py
CHANGED
|
@@ -239,7 +239,7 @@ def _generate_html_tables(record: dict) -> Tuple[str, str]:
|
|
| 239 |
<div style="overflow-x: auto; max-width: 100%; border: 2px solid #333; border-radius: 8px;">
|
| 240 |
<table style="width: 100%; border-collapse: collapse; font-family: monospace; font-size: 13px;">
|
| 241 |
<thead>
|
| 242 |
-
<tr style="background-color: #f6f8fa; border-bottom:
|
| 243 |
<th style="padding: 12px; text-align: left; white-space: nowrap; min-width: 400px; background-color: #f6f8fa; color: #24292f; border-right: 2px solid #999;">Test</th>
|
| 244 |
<th style="padding: 12px; text-align: center; white-space: nowrap; width: 80px; color: #24292f; border-right: 2px solid #999;">Failures</th>
|
| 245 |
<th style="padding: 12px; text-align: left; white-space: nowrap; min-width: 600px; color: #24292f;">Full error(s)</th>
|
|
@@ -280,7 +280,7 @@ def _generate_html_tables(record: dict) -> Tuple[str, str]:
|
|
| 280 |
<div style="overflow-x: auto; max-width: 100%; border: 2px solid #333; border-radius: 8px; margin-top: 20px;">
|
| 281 |
<table style="width: 100%; border-collapse: collapse; font-family: monospace; font-size: 13px;">
|
| 282 |
<thead>
|
| 283 |
-
<tr style="background-color: #f6f8fa; border-bottom:
|
| 284 |
<th style="padding: 12px; text-align: left; white-space: nowrap; min-width: 150px; background-color: #f6f8fa; color: #24292f; border-right: 2px solid #999;">Model</th>
|
| 285 |
<th style="padding: 12px; text-align: center; white-space: nowrap; width: 80px; color: #24292f; border-right: 2px solid #999;">Failures</th>
|
| 286 |
<th style="padding: 12px; text-align: left; white-space: nowrap; min-width: 600px; color: #24292f;">Full error(s)</th>
|
|
@@ -664,7 +664,7 @@ with gr.Blocks(title="CircleCI Test Results Viewer") as demo:
|
|
| 664 |
|
| 665 |
**Data source:** [transformers-community/circleci-test-results](https://huggingface.co/datasets/transformers-community/circleci-test-results)
|
| 666 |
|
| 667 |
-
|
| 668 |
"""
|
| 669 |
)
|
| 670 |
|
|
|
|
| 239 |
<div style="overflow-x: auto; max-width: 100%; border: 2px solid #333; border-radius: 8px;">
|
| 240 |
<table style="width: 100%; border-collapse: collapse; font-family: monospace; font-size: 13px;">
|
| 241 |
<thead>
|
| 242 |
+
<tr style="background-color: #f6f8fa; border-bottom: 2px solid #333;">
|
| 243 |
<th style="padding: 12px; text-align: left; white-space: nowrap; min-width: 400px; background-color: #f6f8fa; color: #24292f; border-right: 2px solid #999;">Test</th>
|
| 244 |
<th style="padding: 12px; text-align: center; white-space: nowrap; width: 80px; color: #24292f; border-right: 2px solid #999;">Failures</th>
|
| 245 |
<th style="padding: 12px; text-align: left; white-space: nowrap; min-width: 600px; color: #24292f;">Full error(s)</th>
|
|
|
|
| 280 |
<div style="overflow-x: auto; max-width: 100%; border: 2px solid #333; border-radius: 8px; margin-top: 20px;">
|
| 281 |
<table style="width: 100%; border-collapse: collapse; font-family: monospace; font-size: 13px;">
|
| 282 |
<thead>
|
| 283 |
+
<tr style="background-color: #f6f8fa; border-bottom: 2px solid #333;">
|
| 284 |
<th style="padding: 12px; text-align: left; white-space: nowrap; min-width: 150px; background-color: #f6f8fa; color: #24292f; border-right: 2px solid #999;">Model</th>
|
| 285 |
<th style="padding: 12px; text-align: center; white-space: nowrap; width: 80px; color: #24292f; border-right: 2px solid #999;">Failures</th>
|
| 286 |
<th style="padding: 12px; text-align: left; white-space: nowrap; min-width: 600px; color: #24292f;">Full error(s)</th>
|
|
|
|
| 664 |
|
| 665 |
**Data source:** [transformers-community/circleci-test-results](https://huggingface.co/datasets/transformers-community/circleci-test-results)
|
| 666 |
|
| 667 |
+
Example: `https://huggingface.co/datasets/transformers-community/circleci-test-results/blob/main/pr-{PR}/sha-{COMMIT}/failure_summary.json`
|
| 668 |
"""
|
| 669 |
)
|
| 670 |
|