File size: 592 Bytes
f4e3685
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
title: CLIPSeg X SD
emoji: 📉
colorFrom: yellow
colorTo: gray
sdk: gradio
sdk_version: 3.12.0
app_file: app.py
pinned: false
license: mit
---

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference


It takes 3 mandatory inputs.

Input Image URL
Prompt of the part in the input image that you want to replace
Output Prompt
There are certain parameters that you can tune

Mask Precision
Stable Diffusion Generation Strength



Prerequisites:
* GPU (runs fine on Google Colab Tesla T4)


Clipseg Model Weights - https://github.com/timojl/clipseg