Update app.py
Browse files
app.py
CHANGED
|
@@ -83,11 +83,6 @@ def fuzzy_match_object(user_input, detected_labels):
|
|
| 83 |
|
| 84 |
return matches
|
| 85 |
|
| 86 |
-
|
| 87 |
-
except Exception as e:
|
| 88 |
-
print(f"Detection error: {str(e)}")
|
| 89 |
-
raise gr.Error(f"Object detection failed: {str(e)}")
|
| 90 |
-
|
| 91 |
|
| 92 |
@spaces.GPU
|
| 93 |
def flux_inpainting(image, object_name, guidance_scale=2.5, steps=28):
|
|
|
|
| 83 |
|
| 84 |
return matches
|
| 85 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 86 |
|
| 87 |
@spaces.GPU
|
| 88 |
def flux_inpainting(image, object_name, guidance_scale=2.5, steps=28):
|