Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ from multit2i import (load_models, infer_fn, infer_rand_fn, save_gallery,
|
|
6 |
change_model, warm_model, get_model_info_md, loaded_models,
|
7 |
get_positive_prefix, get_positive_suffix, get_negative_prefix, get_negative_suffix,
|
8 |
get_recom_prompt_type, set_recom_prompt_preset, get_tag_type, randomize_seed, translate_to_en)
|
9 |
-
|
10 |
max_images = 8
|
11 |
MAX_SEED = 2**32-1
|
12 |
load_models(models)
|
|
|
6 |
change_model, warm_model, get_model_info_md, loaded_models,
|
7 |
get_positive_prefix, get_positive_suffix, get_negative_prefix, get_negative_suffix,
|
8 |
get_recom_prompt_type, set_recom_prompt_preset, get_tag_type, randomize_seed, translate_to_en)
|
9 |
+
from huggingface_hub import InferenceClient
|
10 |
max_images = 8
|
11 |
MAX_SEED = 2**32-1
|
12 |
load_models(models)
|