Spaces:
Running
Running
Commit
Β·
7857b5a
1
Parent(s):
9f74751
Update pages/1_π_predict.py
Browse files- pages/1_π_predict.py +2 -2
pages/1_π_predict.py
CHANGED
@@ -15,9 +15,7 @@ from utils.openllmapi.exceptions import *
|
|
15 |
import time
|
16 |
from typing import List
|
17 |
from collections import OrderedDict
|
18 |
-
st.write('secrets are')
|
19 |
|
20 |
-
st.write(st.secrets["hf-chat"])
|
21 |
|
22 |
tokenizer_kwargs = dict(
|
23 |
max_length=128,
|
@@ -141,7 +139,9 @@ def classify_sub_theme() -> TextClassificationPipeline:
|
|
141 |
|
142 |
st.set_page_config(layout="wide", page_title="Amazon Review | Summarizer")
|
143 |
st.title("Amazon Review Summarizer")
|
|
|
144 |
|
|
|
145 |
uploaded_file = st.file_uploader("Choose a file", type=["xlsx", "xls", "csv"])
|
146 |
|
147 |
try:
|
|
|
15 |
import time
|
16 |
from typing import List
|
17 |
from collections import OrderedDict
|
|
|
18 |
|
|
|
19 |
|
20 |
tokenizer_kwargs = dict(
|
21 |
max_length=128,
|
|
|
139 |
|
140 |
st.set_page_config(layout="wide", page_title="Amazon Review | Summarizer")
|
141 |
st.title("Amazon Review Summarizer")
|
142 |
+
st.write('secrets are')
|
143 |
|
144 |
+
st.write(st.secrets["hf-chat"])
|
145 |
uploaded_file = st.file_uploader("Choose a file", type=["xlsx", "xls", "csv"])
|
146 |
|
147 |
try:
|