come on
Browse files
app.py
CHANGED
@@ -69,8 +69,7 @@ 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 oauth_token.token
|
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 commit(input_id, oauth_token=oauth_token.token)
|
|
|
73 |
|
74 |
submit_btn.click(validate_model_id, model_id, output)
|
75 |
|