Spaces:
Sleeping
Sleeping
Upload rep_api.py
Browse files- src/rep_api.py +2 -2
src/rep_api.py
CHANGED
|
@@ -104,8 +104,8 @@ def replicate_bgcontrolnet(img,prompt,background_prompt, sampler_name= "DPM++ SD
|
|
| 104 |
"negative_prompt":negative_prompt
|
| 105 |
}
|
| 106 |
)
|
| 107 |
-
|
| 108 |
-
return output["
|
| 109 |
|
| 110 |
def replicate_caption_api(image,model,context_text):
|
| 111 |
print(model,context_text)
|
|
|
|
| 104 |
"negative_prompt":negative_prompt
|
| 105 |
}
|
| 106 |
)
|
| 107 |
+
|
| 108 |
+
return output["image"]
|
| 109 |
|
| 110 |
def replicate_caption_api(image,model,context_text):
|
| 111 |
print(model,context_text)
|