Spaces:
Runtime error
Runtime error
Jonathan Malott
commited on
Commit
•
3ed0274
1
Parent(s):
69a529e
Removed procfile
Browse files- Procfile +0 -1
- streamlit_app.py +0 -48
Procfile
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
web: streamlit run streamlit_app.py
|
|
|
|
streamlit_app.py
DELETED
@@ -1,48 +0,0 @@
|
|
1 |
-
import streamlit as st
|
2 |
-
import pandas as pd
|
3 |
-
import numpy as np
|
4 |
-
|
5 |
-
import os, random, time
|
6 |
-
|
7 |
-
from utils import footer
|
8 |
-
from page import generate, reduce
|
9 |
-
|
10 |
-
|
11 |
-
if( hasattr(st.session_state, 'page') == False):
|
12 |
-
st.session_state.page = 0
|
13 |
-
|
14 |
-
if( hasattr(st.session_state, 'results') == False):
|
15 |
-
st.session_state.results = []
|
16 |
-
|
17 |
-
p1 = st.empty()
|
18 |
-
p2 = st.empty()
|
19 |
-
p3 = st.empty()
|
20 |
-
|
21 |
-
|
22 |
-
st.session_state.stop = False
|
23 |
-
st.session_state.progress = 0
|
24 |
-
st.session_state.regenerate = False
|
25 |
-
|
26 |
-
if(st.session_state.page == 0):
|
27 |
-
p2.empty()
|
28 |
-
p3.empty()
|
29 |
-
with p1.container():
|
30 |
-
generate.app()
|
31 |
-
|
32 |
-
|
33 |
-
if(st.session_state.page == 1):
|
34 |
-
p1.empty()
|
35 |
-
p3.empty()
|
36 |
-
with p2.container():
|
37 |
-
reduce.app()
|
38 |
-
|
39 |
-
if(st.session_state.page == 2):
|
40 |
-
p1.empty()
|
41 |
-
p2.empty()
|
42 |
-
with p3.container():
|
43 |
-
st.write("This 333")
|
44 |
-
startButton = st.button("S3")
|
45 |
-
if startButton:
|
46 |
-
st.session_state.page = 0
|
47 |
-
|
48 |
-
footer()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|