Spaces:
Paused
Paused
Commit
·
acdc971
1
Parent(s):
ee6d5df
fix: running=False on stop
Browse files
app.py
CHANGED
|
@@ -151,7 +151,7 @@ def stop():
|
|
| 151 |
if not running:
|
| 152 |
gr.Info("No audio is currently playing.")
|
| 153 |
|
| 154 |
-
running =
|
| 155 |
gr.Info("Audio playback stopped.")
|
| 156 |
|
| 157 |
|
|
|
|
| 151 |
if not running:
|
| 152 |
gr.Info("No audio is currently playing.")
|
| 153 |
|
| 154 |
+
running = False
|
| 155 |
gr.Info("Audio playback stopped.")
|
| 156 |
|
| 157 |
|