Spaces:
Build error
Build error
Clean up
Browse files- uploader.py +0 -1
uploader.py
CHANGED
@@ -16,6 +16,5 @@ def upload(model_name: str, hf_token: str) -> None:
|
|
16 |
message = f'Your model was successfully uploaded to [{url}]({url}).'
|
17 |
except Exception as e:
|
18 |
message = str(e)
|
19 |
-
#raise gr.Error(str(e))
|
20 |
|
21 |
return gr.update(value=message, visible=True)
|
|
|
16 |
message = f'Your model was successfully uploaded to [{url}]({url}).'
|
17 |
except Exception as e:
|
18 |
message = str(e)
|
|
|
19 |
|
20 |
return gr.update(value=message, visible=True)
|