Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -123,6 +123,7 @@ STYLE = """
|
|
123 |
}
|
124 |
.tree li a:hover+ul li::after, .tree li a:hover+ul li::before, .tree li a:hover+ul::before, .tree li a:hover+ul ul::before {
|
125 |
border-color: #f97316;
|
|
|
126 |
}
|
127 |
.chosen {
|
128 |
background-color: #ea580c;
|
@@ -170,7 +171,6 @@ def generate_markdown_table(scores, sequence_prob, top_k=4, chosen_tokens=None):
|
|
170 |
|
171 |
|
172 |
def generate_html(start_sentence, original_tree):
|
173 |
-
|
174 |
html_output = """<div class="custom-container">
|
175 |
<div class="tree">
|
176 |
<ul>"""
|
|
|
123 |
}
|
124 |
.tree li a:hover+ul li::after, .tree li a:hover+ul li::before, .tree li a:hover+ul::before, .tree li a:hover+ul ul::before {
|
125 |
border-color: #f97316;
|
126 |
+
color= #CCC;
|
127 |
}
|
128 |
.chosen {
|
129 |
background-color: #ea580c;
|
|
|
171 |
|
172 |
|
173 |
def generate_html(start_sentence, original_tree):
|
|
|
174 |
html_output = """<div class="custom-container">
|
175 |
<div class="tree">
|
176 |
<ul>"""
|