Spaces:
Running
Running
Upload folder using huggingface_hub
Browse files
index.py
CHANGED
@@ -94,7 +94,7 @@ def main(text1, text2, prompt, dropdown_value, image_input):
|
|
94 |
|
95 |
# Encode the starter image to base64
|
96 |
starter_img = "data:image/jpeg;base64," + base64.b64encode(buffered.getvalue()).decode('utf-8')
|
97 |
-
prompt_strength=.
|
98 |
else:
|
99 |
starter_img = img2imgstarter(prompt)
|
100 |
prompt_strength = .95
|
|
|
94 |
|
95 |
# Encode the starter image to base64
|
96 |
starter_img = "data:image/jpeg;base64," + base64.b64encode(buffered.getvalue()).decode('utf-8')
|
97 |
+
prompt_strength=.82
|
98 |
else:
|
99 |
starter_img = img2imgstarter(prompt)
|
100 |
prompt_strength = .95
|