Rzhishchev commited on
Commit
1d81050
1 Parent(s): aadb1dc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -3,10 +3,10 @@ from gpt2 import app as gpt2_app
3
  from toxic import app as toxic_app
4
 
5
  # Sidebar for page selection
6
- page = st.sidebar.selectbox("Choose a page", ["GPT-2", "Toxicity Analysis"])
7
 
8
  # Display the selected page
9
- if page == "GPT-2":
10
  gpt2_app()
11
- elif page == "Toxicity Analysis":
12
  toxic_app()
 
3
  from toxic import app as toxic_app
4
 
5
  # Sidebar for page selection
6
+ page = st.sidebar.selectbox("Choose a page", ["GPT-2", "Toxic Comment Detector"])
7
 
8
  # Display the selected page
9
+ if page == "GPT-2 Generator":
10
  gpt2_app()
11
+ elif page == "Toxic Comment Detector":
12
  toxic_app()