Update app.py
Browse files
app.py
CHANGED
|
@@ -49,7 +49,7 @@ def process_file(file_obj, acc_sensitivity):
|
|
| 49 |
|
| 50 |
# 檢查是否過了五秒
|
| 51 |
current_time = pd.to_datetime(timestamp)
|
| 52 |
-
if (current_time - first_timestamp).total_seconds() <=
|
| 53 |
continue
|
| 54 |
|
| 55 |
idx = line.find('value (0x):')
|
|
|
|
| 49 |
|
| 50 |
# 檢查是否過了五秒
|
| 51 |
current_time = pd.to_datetime(timestamp)
|
| 52 |
+
if (current_time - first_timestamp).total_seconds() <= 10:
|
| 53 |
continue
|
| 54 |
|
| 55 |
idx = line.find('value (0x):')
|