Update app.py
Browse files
app.py
CHANGED
|
@@ -39,15 +39,15 @@ stops = [
|
|
| 39 |
def change_speed(choice):
|
| 40 |
# print(f"choice: {choice}")
|
| 41 |
if choice=="ganz lues":
|
| 42 |
-
speed=
|
| 43 |
elif choice=="lues":
|
| 44 |
-
speed=
|
| 45 |
elif choice=="normal":
|
| 46 |
speed=1
|
| 47 |
elif choice=="schnell":
|
| 48 |
-
speed=
|
| 49 |
else: # ganz schnell
|
| 50 |
-
speed=
|
| 51 |
return speed
|
| 52 |
|
| 53 |
def change_stop(choice):
|
|
|
|
| 39 |
def change_speed(choice):
|
| 40 |
# print(f"choice: {choice}")
|
| 41 |
if choice=="ganz lues":
|
| 42 |
+
speed=1.8
|
| 43 |
elif choice=="lues":
|
| 44 |
+
speed=1.4
|
| 45 |
elif choice=="normal":
|
| 46 |
speed=1
|
| 47 |
elif choice=="schnell":
|
| 48 |
+
speed=0.6
|
| 49 |
else: # ganz schnell
|
| 50 |
+
speed=0.2
|
| 51 |
return speed
|
| 52 |
|
| 53 |
def change_stop(choice):
|