Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ import gradio as gr
|
|
| 2 |
import os
|
| 3 |
|
| 4 |
def inference(input_file_path,model_name):
|
| 5 |
-
if model_name == "":
|
| 6 |
model_name = "htdemucs"
|
| 7 |
# Make sure the output directory exists
|
| 8 |
temp_dir = os.path.dirname(input_file_path)
|
|
|
|
| 2 |
import os
|
| 3 |
|
| 4 |
def inference(input_file_path,model_name):
|
| 5 |
+
if model_name == "" or model_name == None:
|
| 6 |
model_name = "htdemucs"
|
| 7 |
# Make sure the output directory exists
|
| 8 |
temp_dir = os.path.dirname(input_file_path)
|