multimodalart HF staff commited on
Commit
289ee2f
1 Parent(s): 872fe49

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -48,5 +48,10 @@ def generate_image(image, prompt, negative_prompt):
48
  print(image)
49
  return image
50
 
51
- demo = gr.Interface(fn=generate_image, inputs=[gr.Image(label="Your face"), gr.Textbox(label="Prompt"), gr.Textbox(label="Negative Prompt")], outputs=[gr.Gallery(label="Generated Image")])
 
 
 
 
 
52
  demo.launch()
 
48
  print(image)
49
  return image
50
 
51
+ demo = gr.Interface(fn=generate_image,
52
+ inputs=[gr.Image(label="Your face"),gr.Textbox(label="Prompt"), gr.Textbox(label="Negative Prompt")],
53
+ outputs=[gr.Gallery(label="Generated Image")],
54
+ title="IP-Adapter-FaceID demo",
55
+ description="Demo for the [h94/IP-Adapter-FaceID model](https://huggingface.co/h94/IP-Adapter-FaceID)"
56
+ )
57
  demo.launch()