Spaces:
Runtime error
Runtime error
Rzhishchev
commited on
Commit
•
c2cba17
1
Parent(s):
24bf839
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ 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", "Toxic Comment Detector"])
|
7 |
|
8 |
# Display the selected page
|
9 |
if page == "GPT-2 Generator":
|
|
|
3 |
from toxic import app as toxic_app
|
4 |
|
5 |
# Sidebar for page selection
|
6 |
+
page = st.sidebar.selectbox("Choose a page", ["GPT-2 Generator", "Toxic Comment Detector"])
|
7 |
|
8 |
# Display the selected page
|
9 |
if page == "GPT-2 Generator":
|