Spaces:
Running
on
Zero
Running
on
Zero
Update chatbot.py
Browse files- chatbot.py +1 -2
chatbot.py
CHANGED
@@ -313,8 +313,7 @@ def model_inference( user_prompt, chat_history):
|
|
313 |
yield gr.Image(image[1])
|
314 |
except:
|
315 |
client_flux = InferenceClient("black-forest-labs/FLUX.1-schnell")
|
316 |
-
|
317 |
-
image = client_flux.text_to_image(query, negative_prompt=f"{seed}")
|
318 |
yield gr.Image(image)
|
319 |
|
320 |
|
|
|
313 |
yield gr.Image(image[1])
|
314 |
except:
|
315 |
client_flux = InferenceClient("black-forest-labs/FLUX.1-schnell")
|
316 |
+
image = client_flux.text_to_image(query)
|
|
|
317 |
yield gr.Image(image)
|
318 |
|
319 |
|