changed markdown to HTML in deep dive model info
Browse files
app.py
CHANGED
@@ -183,13 +183,13 @@ def get_model_info_blocks(chosen_model_name):
|
|
183 |
with gr.Accordion("Model Details"):
|
184 |
|
185 |
with gr.Row():
|
186 |
-
model_name = gr.
|
187 |
with gr.Row():
|
188 |
-
benchmark_score = gr.
|
189 |
-
rank = gr.
|
190 |
-
speed = gr.
|
191 |
-
contamination = gr.
|
192 |
-
size = gr.
|
193 |
|
194 |
with gr.Row():
|
195 |
skills_bar = gr.BarPlot(
|
|
|
183 |
with gr.Accordion("Model Details"):
|
184 |
|
185 |
with gr.Row():
|
186 |
+
model_name = gr.HTML("""<span class='deep-dive-metric'><b>Model Name:</b> {}</span> """.format(chosen_model_name))
|
187 |
with gr.Row():
|
188 |
+
benchmark_score = gr.HTML("""<span class='deep-dive-metric'><b>Benchmark Score:</b>{}/10</span>""".format(filtered_df["Benchmark Score"][0]))
|
189 |
+
rank = gr.HTML("""<span class='deep-dive-metric'><b>Benchmark Rank:</b>{}</span>""".format(filtered_df["Rank"][0]))
|
190 |
+
speed = gr.HTML("""<span class='deep-dive-metric'><b>Speed:</b>{} words per second</span>""".format(filtered_df["Speed (words/sec)"][0]))
|
191 |
+
contamination = gr.HTML("""<span class='deep-dive-metric'><b>Contamination Score:</b>{}</span>""".format(filtered_df["Contamination Score"][0]))
|
192 |
+
size = gr.HTML("""<span class='deep-dive-metric'><b>Size Category:</b>{}</span>""".format(filtered_df["Category"][0]))
|
193 |
|
194 |
with gr.Row():
|
195 |
skills_bar = gr.BarPlot(
|