Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,8 @@ import gradio as gr
|
|
2 |
import tempfile
|
3 |
import os
|
4 |
from git import Repo
|
5 |
-
from huggingface_hub import HfApi, create_repo, upload_folder
|
|
|
6 |
api = HfApi()
|
7 |
|
8 |
|
|
|
2 |
import tempfile
|
3 |
import os
|
4 |
from git import Repo
|
5 |
+
from huggingface_hub import HfApi, create_repo, upload_folder
|
6 |
+
from huggingface_hub.utils import HfHubHTTPError
|
7 |
api = HfApi()
|
8 |
|
9 |
|