Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,6 +20,7 @@ from scepter.modules.utils.file_system import FS
|
|
| 20 |
from inference.ace_plus_diffusers import ACEPlusDiffuserInference
|
| 21 |
from inference.utils import edit_preprocess
|
| 22 |
from examples.examples import all_examples
|
|
|
|
| 23 |
|
| 24 |
inference_dict = {
|
| 25 |
"ACE_DIFFUSER_PLUS": ACEPlusDiffuserInference
|
|
@@ -162,6 +163,7 @@ class DemoUI(object):
|
|
| 162 |
In the Edit Image section, the uploaded image will maintain its structural and content information, and you must draw a mask area to specify the region to be regenerated.
|
| 163 |
3. When the task type is local editing, there are various editing types to choose from. Users can select different information preserving dimensions, such as edge information,
|
| 164 |
color information, and more. The pre-processing information can be viewed in the 'related input image' tab.
|
|
|
|
| 165 |
"""
|
| 166 |
self.instruction = gr.Markdown(value=instruction)
|
| 167 |
with gr.Row():
|
|
|
|
| 20 |
from inference.ace_plus_diffusers import ACEPlusDiffuserInference
|
| 21 |
from inference.utils import edit_preprocess
|
| 22 |
from examples.examples import all_examples
|
| 23 |
+
import spaces
|
| 24 |
|
| 25 |
inference_dict = {
|
| 26 |
"ACE_DIFFUSER_PLUS": ACEPlusDiffuserInference
|
|
|
|
| 163 |
In the Edit Image section, the uploaded image will maintain its structural and content information, and you must draw a mask area to specify the region to be regenerated.
|
| 164 |
3. When the task type is local editing, there are various editing types to choose from. Users can select different information preserving dimensions, such as edge information,
|
| 165 |
color information, and more. The pre-processing information can be viewed in the 'related input image' tab.
|
| 166 |
+
4. More details can be found in [page](https://ali-vilab.github.io/ACE_plus_page).
|
| 167 |
"""
|
| 168 |
self.instruction = gr.Markdown(value=instruction)
|
| 169 |
with gr.Row():
|