fancyfeast
commited on
Commit
•
159c6c1
1
Parent(s):
7fc3ad4
Derp
Browse files
app.py
CHANGED
@@ -186,6 +186,9 @@ def stream_chat(input_image: Image.Image, caption_type: str, caption_length: str
|
|
186 |
if len(extra_options) > 0:
|
187 |
prompt_str += " " + " ".join(extra_options)
|
188 |
|
|
|
|
|
|
|
189 |
# For debugging
|
190 |
print(f"Prompt: {prompt_str}")
|
191 |
|
|
|
186 |
if len(extra_options) > 0:
|
187 |
prompt_str += " " + " ".join(extra_options)
|
188 |
|
189 |
+
# Add name, length, word_count
|
190 |
+
prompt_str = prompt_str.format(name=name_input, length=caption_length, word_count=caption_length)
|
191 |
+
|
192 |
# For debugging
|
193 |
print(f"Prompt: {prompt_str}")
|
194 |
|