Niklas Hoepner commited on
Commit
38d8655
·
1 Parent(s): f0d7015

Tried fixing display of equation

Browse files
Files changed (1) hide show
  1. app.py +7 -4
app.py CHANGED
@@ -60,12 +60,15 @@ with gr.Blocks() as demo:
60
 
61
  The model's **log-probabilities** for "Yes" and "No" tokens are used to compute the score.
62
 
63
- ---
64
-
 
65
  ## 🧮 Scoring Logic
66
 
67
- Let $$l_{\text{yes}} $$ and $$ l_{\text{no}} $$ be the log-probabilities of "Yes" and "No", respectively.
68
-
 
 
69
  - If neither token is in the top-5:
70
 
71
  $$
 
60
 
61
  The model's **log-probabilities** for "Yes" and "No" tokens are used to compute the score.
62
 
63
+ ---""")
64
+
65
+ gr.Markdown(r"""
66
  ## 🧮 Scoring Logic
67
 
68
+ Let $l_{\text{yes}} $ and $ l_{\text{no}} $ be the log-probabilities of "Yes" and "No", respectively.
69
+ """,latex_delimiters=[ {"left": "$", "right": "$", "display": False }])
70
+
71
+ gr.Markdown(r"""
72
  - If neither token is in the top-5:
73
 
74
  $$