Spaces:
Runtime error
Runtime error
liuyang
commited on
Commit
·
c998073
1
Parent(s):
245f6e3
modify out dir
Browse files
app.py
CHANGED
|
@@ -489,7 +489,7 @@ class WhisperTranscriber:
|
|
| 489 |
except Exception as e:
|
| 490 |
raise RuntimeError(f"Invalid JSON: {e}")
|
| 491 |
|
| 492 |
-
out_dir = os.path.join(
|
| 493 |
os.makedirs(out_dir, exist_ok=True)
|
| 494 |
meta = None
|
| 495 |
#task could be a single chunk or a list of chunks
|
|
|
|
| 489 |
except Exception as e:
|
| 490 |
raise RuntimeError(f"Invalid JSON: {e}")
|
| 491 |
|
| 492 |
+
out_dir = os.path.join("/tmp/gradio", "preprocessed")
|
| 493 |
os.makedirs(out_dir, exist_ok=True)
|
| 494 |
meta = None
|
| 495 |
#task could be a single chunk or a list of chunks
|