Spaces:
Runtime error
Runtime error
Commit
·
bb6245e
1
Parent(s):
d933b45
Update
Browse files
app.py
CHANGED
@@ -15,7 +15,6 @@ from gradio import processing_utils
|
|
15 |
from typing import Optional
|
16 |
|
17 |
import warnings
|
18 |
-
warnings.filterwarnings("ignore")
|
19 |
|
20 |
from huggingface_hub import hf_hub_download
|
21 |
hf_hub_download = partial(hf_hub_download, library_name="gligen_demo")
|
@@ -159,6 +158,7 @@ class Blocks(gr.Blocks):
|
|
159 |
}
|
160 |
|
161 |
super(Blocks, self).__init__(theme, analytics_enabled, mode, title, css, **kwargs)
|
|
|
162 |
|
163 |
def get_config_file(self):
|
164 |
config = super(Blocks, self).get_config_file()
|
|
|
15 |
from typing import Optional
|
16 |
|
17 |
import warnings
|
|
|
18 |
|
19 |
from huggingface_hub import hf_hub_download
|
20 |
hf_hub_download = partial(hf_hub_download, library_name="gligen_demo")
|
|
|
158 |
}
|
159 |
|
160 |
super(Blocks, self).__init__(theme, analytics_enabled, mode, title, css, **kwargs)
|
161 |
+
warnings.filterwarnings("ignore")
|
162 |
|
163 |
def get_config_file(self):
|
164 |
config = super(Blocks, self).get_config_file()
|