Spaces:
Sleeping
Sleeping
Chidam Gopal
commited on
Commit
•
c9ab972
1
Parent(s):
94de7c5
updates
Browse files
app.py
CHANGED
@@ -27,16 +27,4 @@ ax.barh(keys, values)
|
|
27 |
ax.set_xlabel('Intent')
|
28 |
ax.set_ylabel('Values')
|
29 |
ax.set_title('Intents probability score')
|
30 |
-
|
31 |
-
col1, col2 = st.columns([2,4])
|
32 |
-
|
33 |
-
with col1:
|
34 |
-
st.pyplot(fig)
|
35 |
-
|
36 |
-
with col2:
|
37 |
-
exp = st.expander("Explore training data")
|
38 |
-
with exp:
|
39 |
-
html_file = "reports/web_search_intents.html"
|
40 |
-
with open(html_file, 'r', encoding='utf-8') as f:
|
41 |
-
plotly_html = f.read()
|
42 |
-
components.html(plotly_html, height=900, width=900)
|
|
|
27 |
ax.set_xlabel('Intent')
|
28 |
ax.set_ylabel('Values')
|
29 |
ax.set_title('Intents probability score')
|
30 |
+
st.pyplot(fig)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|