Spaces:
Sleeping
Sleeping
Commit
·
522972c
1
Parent(s):
6d8ac91
replaced recording with uploading
Browse files
app.py
CHANGED
@@ -289,8 +289,8 @@ def process_file(ser_model,tokenizer,gpt_model,gpt_tokenizer):
|
|
289 |
button_label = "Show Helpful Tips"
|
290 |
# recorded = False # Initialize the recording state as False
|
291 |
|
292 |
-
|
293 |
-
|
294 |
|
295 |
def set_stage(stage):
|
296 |
st.session_state.stage = stage
|
|
|
289 |
button_label = "Show Helpful Tips"
|
290 |
# recorded = False # Initialize the recording state as False
|
291 |
|
292 |
+
if 'stage' not in st.session_state:
|
293 |
+
st.session_state.stage = 0
|
294 |
|
295 |
def set_stage(stage):
|
296 |
st.session_state.stage = stage
|