Spaces:
Running
Running
Update app.py
Browse files
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 [
|
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:
|