Update app.py
Browse files
app.py
CHANGED
|
@@ -44,9 +44,6 @@ def get_masks(prompts, img, threshold):
|
|
| 44 |
|
| 45 |
return masks
|
| 46 |
|
| 47 |
-
@app.route('/')
|
| 48 |
-
def home():
|
| 49 |
-
return 'Server started. Verify it is running by visiting http://0.0.0.0:7860/'
|
| 50 |
|
| 51 |
# Function to extract image using positive and negative prompts
|
| 52 |
def extract_image(pos_prompts, neg_prompts, img, threshold):
|
|
|
|
| 44 |
|
| 45 |
return masks
|
| 46 |
|
|
|
|
|
|
|
|
|
|
| 47 |
|
| 48 |
# Function to extract image using positive and negative prompts
|
| 49 |
def extract_image(pos_prompts, neg_prompts, img, threshold):
|