Spaces:
Running
Running
Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
|
@@ -205,7 +205,7 @@ st.warning(
|
|
| 205 |
with st.sidebar:
|
| 206 |
st.header("About")
|
| 207 |
st.markdown(
|
| 208 |
-
"Compares **
|
| 209 |
"in discharge letters."
|
| 210 |
)
|
| 211 |
st.markdown("---")
|
|
@@ -344,7 +344,7 @@ if st.session_state.result:
|
|
| 344 |
with col_a:
|
| 345 |
st.markdown(
|
| 346 |
'<div class="model-header-a"><h4 style="color:#3182ce; margin:0">'
|
| 347 |
-
"
|
| 348 |
unsafe_allow_html=True,
|
| 349 |
)
|
| 350 |
render_model_output(r.model_a_result, "model-header-a")
|
|
@@ -352,7 +352,7 @@ if st.session_state.result:
|
|
| 352 |
with col_b:
|
| 353 |
st.markdown(
|
| 354 |
'<div class="model-header-b"><h4 style="color:#805ad5; margin:0">'
|
| 355 |
-
"
|
| 356 |
unsafe_allow_html=True,
|
| 357 |
)
|
| 358 |
render_model_output(r.model_b_result, "model-header-b")
|
|
@@ -374,8 +374,8 @@ if st.session_state.result:
|
|
| 374 |
feedback_data = {}
|
| 375 |
|
| 376 |
for model_key, model_label, res in [
|
| 377 |
-
("model_a", "
|
| 378 |
-
("model_b", "
|
| 379 |
]:
|
| 380 |
st.markdown(f"#### {model_label}")
|
| 381 |
|
|
|
|
| 205 |
with st.sidebar:
|
| 206 |
st.header("About")
|
| 207 |
st.markdown(
|
| 208 |
+
"Compares **DeepSeek Reasoner** and **GPT-OSS-120B** for detecting errors "
|
| 209 |
"in discharge letters."
|
| 210 |
)
|
| 211 |
st.markdown("---")
|
|
|
|
| 344 |
with col_a:
|
| 345 |
st.markdown(
|
| 346 |
'<div class="model-header-a"><h4 style="color:#3182ce; margin:0">'
|
| 347 |
+
"DeepSeek Reasoner</h4></div>",
|
| 348 |
unsafe_allow_html=True,
|
| 349 |
)
|
| 350 |
render_model_output(r.model_a_result, "model-header-a")
|
|
|
|
| 352 |
with col_b:
|
| 353 |
st.markdown(
|
| 354 |
'<div class="model-header-b"><h4 style="color:#805ad5; margin:0">'
|
| 355 |
+
"GPT-OSS-120B</h4></div>",
|
| 356 |
unsafe_allow_html=True,
|
| 357 |
)
|
| 358 |
render_model_output(r.model_b_result, "model-header-b")
|
|
|
|
| 374 |
feedback_data = {}
|
| 375 |
|
| 376 |
for model_key, model_label, res in [
|
| 377 |
+
("model_a", "DeepSeek Reasoner", r.model_a_result),
|
| 378 |
+
("model_b", "GPT-OSS-120B", r.model_b_result),
|
| 379 |
]:
|
| 380 |
st.markdown(f"#### {model_label}")
|
| 381 |
|