andromeda01111 commited on
Commit
398f0a1
·
verified ·
1 Parent(s): 036889a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -95,7 +95,7 @@ def extract_features_from_file(file):
95
  return values # must return a list of 30 floats
96
  except Exception as e:
97
  print(f"Error reading file: {e}")
98
- return [None] * 30 # return empty values for safety
99
 
100
  # --- UI with Gradio ---
101
  with gr.Blocks() as demo:
 
95
  return values # must return a list of 30 floats
96
  except Exception as e:
97
  print(f"Error reading file: {e}")
98
+ return [0.0] * 30 # return empty values for safety
99
 
100
  # --- UI with Gradio ---
101
  with gr.Blocks() as demo: