Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import streamlit as st
|
2 |
+
# Custom imports
|
3 |
+
from multipage import MultiPage
|
4 |
+
from pages import text_gen, fill_mask, home_page # import your pages here
|
5 |
+
|
6 |
+
# Create an instance of the app
|
7 |
+
app = MultiPage()
|
8 |
+
|
9 |
+
|
10 |
+
# Add all your applications (pages) here
|
11 |
+
app.add_page("Home Page", home_page.app)
|
12 |
+
app.add_page("Mask Fill", fill_mask.app)
|
13 |
+
app.add_page("Text Generation", text_gen.app)
|
14 |
+
|
15 |
+
# app.add_page("Machine Learning", machine_learning.app)
|
16 |
+
# app.add_page("Data Analysis",data_visualize.app)
|
17 |
+
# app.add_page("Y-Parameter Optimization",redundant.app)
|
18 |
+
|
19 |
+
# The main app
|
20 |
+
app.run()
|