Spaces:
Sleeping
Sleeping
Commit
·
d83cd0a
1
Parent(s):
3113ec2
handling return type
Browse files
app.py
CHANGED
|
@@ -99,7 +99,7 @@ def process_fn_stem(
|
|
| 99 |
return stem_path, {
|
| 100 |
"stem": stem_choice,
|
| 101 |
"model": demucs_model,
|
| 102 |
-
"
|
| 103 |
}
|
| 104 |
|
| 105 |
|
|
@@ -134,4 +134,4 @@ with gr.Blocks() as demo:
|
|
| 134 |
)
|
| 135 |
|
| 136 |
demo.queue()
|
| 137 |
-
demo.launch(show_error=True)
|
|
|
|
| 99 |
return stem_path, {
|
| 100 |
"stem": stem_choice,
|
| 101 |
"model": demucs_model,
|
| 102 |
+
"auth_status": "authenticated" if user_token else "unauthenticated"
|
| 103 |
}
|
| 104 |
|
| 105 |
|
|
|
|
| 134 |
)
|
| 135 |
|
| 136 |
demo.queue()
|
| 137 |
+
#demo.launch(show_error=True)
|