Spaces:
Running
on
Zero
Running
on
Zero
Remove placeholder
Browse files
app.py
CHANGED
@@ -198,6 +198,7 @@ def generate_diffusion_text(input_ids):
|
|
198 |
# --- Inference Wrapper ---
|
199 |
def diffusion_chat(question, eot_weight, mask_weight, max_it, pause_length, sharpness, clustering, noise_start, use_confidence_noising, noise_clipping):
|
200 |
placeholder = "What do you know about the city of New York?"
|
|
|
201 |
if question.strip() == "":
|
202 |
question = placeholder
|
203 |
|
|
|
198 |
# --- Inference Wrapper ---
|
199 |
def diffusion_chat(question, eot_weight, mask_weight, max_it, pause_length, sharpness, clustering, noise_start, use_confidence_noising, noise_clipping):
|
200 |
placeholder = "What do you know about the city of New York?"
|
201 |
+
placeholder = ""
|
202 |
if question.strip() == "":
|
203 |
question = placeholder
|
204 |
|