Update app.py
Browse files
app.py
CHANGED
@@ -261,7 +261,7 @@ def main():
|
|
261 |
st.title("Model Results Analyzer")
|
262 |
with st.sidebar:
|
263 |
|
264 |
-
selected_menu = option_menu(None, ["Home", "Upload Data", "Add Features","Analyze Data"],
|
265 |
icons=['house', 'cloud-upload', "list-task", 'gear'],
|
266 |
menu_icon="cast", default_index=0, orientation="vertical",
|
267 |
styles={
|
@@ -304,5 +304,7 @@ def main():
|
|
304 |
|
305 |
st.session_state['data_frames'][selected_file] = df
|
306 |
st.write(df.columns.values)
|
|
|
|
|
307 |
|
308 |
main()
|
|
|
261 |
st.title("Model Results Analyzer")
|
262 |
with st.sidebar:
|
263 |
|
264 |
+
selected_menu = option_menu(None, ["Home", "Upload Data", "Add Features","Analyze Data","Iframe"],
|
265 |
icons=['house', 'cloud-upload', "list-task", 'gear'],
|
266 |
menu_icon="cast", default_index=0, orientation="vertical",
|
267 |
styles={
|
|
|
304 |
|
305 |
st.session_state['data_frames'][selected_file] = df
|
306 |
st.write(df.columns.values)
|
307 |
+
elif selected_menu == "Iframe":
|
308 |
+
st.components.v1.iframe("https://huggingface.co/spaces/Sasidhar/information-extraction-demo", width=None, height=None, scrolling=False)
|
309 |
|
310 |
main()
|