Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,3 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
import torch
|
| 5 |
|
| 6 |
import gradio as gr
|
|
@@ -17,10 +14,6 @@ import os
|
|
| 17 |
import time
|
| 18 |
import demucs.api
|
| 19 |
|
| 20 |
-
|
| 21 |
-
os.environ["GRADIO_TEMP_DIR"] = "/home/yoach/spaces/tmp"
|
| 22 |
-
|
| 23 |
-
|
| 24 |
MODEL_NAME = "openai/whisper-large-v3"
|
| 25 |
DEMUCS_MODEL_NAME = "htdemucs_ft"
|
| 26 |
BATCH_SIZE = 8
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import torch
|
| 2 |
|
| 3 |
import gradio as gr
|
|
|
|
| 14 |
import time
|
| 15 |
import demucs.api
|
| 16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
MODEL_NAME = "openai/whisper-large-v3"
|
| 18 |
DEMUCS_MODEL_NAME = "htdemucs_ft"
|
| 19 |
BATCH_SIZE = 8
|