Weyaxi commited on
Commit
5c90a21
·
verified ·
1 Parent(s): 8d58492
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -69,8 +69,8 @@ with gr.Blocks() as demo:
69
  gr.Error("DON'T, DON'T SPAM THAT MODELS")
70
  return "DON'T, DON'T SPAM THAT MODELS"
71
  else:
72
- return gr.OAuthToken
73
- #return commit(input_id)
74
 
75
  submit_btn.click(validate_model_id, model_id, output)
76
 
 
69
  gr.Error("DON'T, DON'T SPAM THAT MODELS")
70
  return "DON'T, DON'T SPAM THAT MODELS"
71
  else:
72
+ #return gr.OAuthToken
73
+ return commit(input_id)
74
 
75
  submit_btn.click(validate_model_id, model_id, output)
76