MrRokot commited on
Commit
3f70b80
·
verified ·
1 Parent(s): 0484ff2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -10,7 +10,10 @@ from multit2i import (load_models, infer_fn, infer_rand_fn, save_gallery,
10
  max_images = 8
11
  MAX_SEED = 2**32-1
12
  load_models(models)
13
-
 
 
 
14
  css = """
15
  .model_info { text-align: center; }
16
  .output { width=112px; height=112px; max_width=112px; max_height=112px; !important; }
 
10
  max_images = 8
11
  MAX_SEED = 2**32-1
12
  load_models(models)
13
+ client = InferenceClient(
14
+ provider="hf-inference",
15
+ api_key="hf_xxxxxxxxxxxxxxxxxxxxxxxx"
16
+ )
17
  css = """
18
  .model_info { text-align: center; }
19
  .output { width=112px; height=112px; max_width=112px; max_height=112px; !important; }