Spaces:
Running
Running
Commit
Β·
0921718
1
Parent(s):
db843a0
Fix app
Browse files
app.py
CHANGED
|
@@ -9,6 +9,13 @@ from pmdarima import auto_arima
|
|
| 9 |
import torch
|
| 10 |
from transformers import pipeline, TapasTokenizer, TapasForQuestionAnswering
|
| 11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
# Preprocessing
|
| 13 |
def merge(B, C, A):
|
| 14 |
i = j = k = 0
|
|
@@ -194,13 +201,6 @@ def get_converted_answer(table, query):
|
|
| 194 |
st.title("Sales Forecasting Dashboard")
|
| 195 |
st.write("π Welcome User, start using the application by uploading your file in the sidebbar!")
|
| 196 |
|
| 197 |
-
st.set_page_config(
|
| 198 |
-
page_title="Sales Forecasting System",
|
| 199 |
-
page_icon="π",
|
| 200 |
-
layout="wide",
|
| 201 |
-
initial_sidebar_state="expanded",
|
| 202 |
-
)
|
| 203 |
-
|
| 204 |
if 'uploaded' not in st.session_state:
|
| 205 |
st.session_state.uploaded = 'uploaded'
|
| 206 |
|
|
|
|
| 9 |
import torch
|
| 10 |
from transformers import pipeline, TapasTokenizer, TapasForQuestionAnswering
|
| 11 |
|
| 12 |
+
st.set_page_config(
|
| 13 |
+
page_title="Sales Forecasting System",
|
| 14 |
+
page_icon="π",
|
| 15 |
+
layout="wide",
|
| 16 |
+
initial_sidebar_state="expanded",
|
| 17 |
+
)
|
| 18 |
+
|
| 19 |
# Preprocessing
|
| 20 |
def merge(B, C, A):
|
| 21 |
i = j = k = 0
|
|
|
|
| 201 |
st.title("Sales Forecasting Dashboard")
|
| 202 |
st.write("π Welcome User, start using the application by uploading your file in the sidebbar!")
|
| 203 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 204 |
if 'uploaded' not in st.session_state:
|
| 205 |
st.session_state.uploaded = 'uploaded'
|
| 206 |
|