MohamedTalaat91 commited on
Commit
9ddfdd1
1 Parent(s): cbbc1a2
IP-Adapter-FaceID/ip-adapter-faceid-plus_sd15.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:252fb53e0d018489d9e7f9b9e2001a52ff700e491894011ada7cfb471e0fadf2
3
+ size 156558503
IP-Adapter/models/image_encoder/config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "./image_encoder",
3
+ "architectures": [
4
+ "CLIPVisionModelWithProjection"
5
+ ],
6
+ "attention_dropout": 0.0,
7
+ "dropout": 0.0,
8
+ "hidden_act": "gelu",
9
+ "hidden_size": 1280,
10
+ "image_size": 224,
11
+ "initializer_factor": 1.0,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 5120,
14
+ "layer_norm_eps": 1e-05,
15
+ "model_type": "clip_vision_model",
16
+ "num_attention_heads": 16,
17
+ "num_channels": 3,
18
+ "num_hidden_layers": 32,
19
+ "patch_size": 14,
20
+ "projection_dim": 1024,
21
+ "torch_dtype": "float16",
22
+ "transformers_version": "4.28.0.dev0"
23
+ }
IP-Adapter/models/image_encoder/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3d3ec1e66737f77a4f3bc2df3c52eacefc69ce7825e2784183b1d4e9877d9193
3
+ size 2528481905
app.py CHANGED
@@ -87,7 +87,7 @@ def generate_images(prompt, img_filepath,
87
 
88
 
89
  with gr.Blocks() as demo:
90
- gr.Markdown(r"""<center><img src= "logo.png" alt='2B-Egypt' style="width:80px; margin-bottom:10px"></center>""")
91
  gr.Markdown(r"""<center><h1>2B-Egypt</h1></center>""")
92
  gr.Markdown(
93
  """
 
87
 
88
 
89
  with gr.Blocks() as demo:
90
+ gr.Markdown(r"""<center><img src= "https://huggingface.co/spaces/MohamedTalaat91/2B-Egypt/blob/main/logo.png" alt='2B-Egypt' style="width:100px; margin-bottom:10px"></center>""")
91
  gr.Markdown(r"""<center><h1>2B-Egypt</h1></center>""")
92
  gr.Markdown(
93
  """