Spaces:
Running
Running
Update utils.py
Browse files
utils.py
CHANGED
|
@@ -72,16 +72,7 @@ def parse_exec_result_nb(execution):
|
|
| 72 |
|
| 73 |
|
| 74 |
system_template = """\
|
| 75 |
-
|
| 76 |
-
details > summary .arrow {
|
| 77 |
-
display: inline-block;
|
| 78 |
-
transition: transform 0.2s;
|
| 79 |
-
}
|
| 80 |
-
details[open] > summary .arrow {
|
| 81 |
-
transform: rotate(90deg);
|
| 82 |
-
}
|
| 83 |
-
</style>
|
| 84 |
-
|
| 85 |
<details>
|
| 86 |
<summary style="display: flex; align-items: center;">
|
| 87 |
<div class="alert alert-block alert-info" style="margin: 0; width: 100%;">
|
|
@@ -92,6 +83,16 @@ details[open] > summary .arrow {
|
|
| 92 |
{}
|
| 93 |
</div>
|
| 94 |
</details>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 95 |
"""
|
| 96 |
|
| 97 |
user_template = """<div class="alert alert-block alert-success">
|
|
|
|
| 72 |
|
| 73 |
|
| 74 |
system_template = """\
|
| 75 |
+
system_template = '''
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 76 |
<details>
|
| 77 |
<summary style="display: flex; align-items: center;">
|
| 78 |
<div class="alert alert-block alert-info" style="margin: 0; width: 100%;">
|
|
|
|
| 83 |
{}
|
| 84 |
</div>
|
| 85 |
</details>
|
| 86 |
+
|
| 87 |
+
<style>
|
| 88 |
+
details > summary .arrow {{
|
| 89 |
+
display: inline-block;
|
| 90 |
+
transition: transform 0.2s;
|
| 91 |
+
}}
|
| 92 |
+
details[open] > summary .arrow {{
|
| 93 |
+
transform: rotate(90deg);
|
| 94 |
+
}}
|
| 95 |
+
</style>
|
| 96 |
"""
|
| 97 |
|
| 98 |
user_template = """<div class="alert alert-block alert-success">
|