lllindsey0615 commited on
Commit
d83cd0a
·
1 Parent(s): 3113ec2

handling return type

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -99,7 +99,7 @@ def process_fn_stem(
99
  return stem_path, {
100
  "stem": stem_choice,
101
  "model": demucs_model,
102
- "is_authenticated": bool(user_token)
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)