Spaces:
Running
Running
Commit
•
a8ea937
1
Parent(s):
0d63e38
Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,17 @@ import streamlit as st
|
|
2 |
import requests
|
3 |
from collections import defaultdict
|
4 |
import pandas as pd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
|
6 |
header = """Toloka compares and ranks LLM output in multiple categories, using Guanaco 13B as the baseline.
|
7 |
|
@@ -141,3 +152,4 @@ st.dataframe(
|
|
141 |
}
|
142 |
)
|
143 |
st.markdown(description)
|
|
|
|
2 |
import requests
|
3 |
from collections import defaultdict
|
4 |
import pandas as pd
|
5 |
+
from streamlit.components.v1 import html
|
6 |
+
|
7 |
+
|
8 |
+
def open_page(url):
|
9 |
+
open_script= """
|
10 |
+
<script type="text/javascript">
|
11 |
+
window.open('%s', '_blank').focus();
|
12 |
+
</script>
|
13 |
+
""" % (url)
|
14 |
+
html(open_script)
|
15 |
+
|
16 |
|
17 |
header = """Toloka compares and ranks LLM output in multiple categories, using Guanaco 13B as the baseline.
|
18 |
|
|
|
152 |
}
|
153 |
)
|
154 |
st.markdown(description)
|
155 |
+
st.button('Evaluate my model', on_click=open_page, args=('https://toloka.ai/talk-to-us/',))
|