From c5e9b407fa75524a279551b7be5c254d765ac873 Mon Sep 17 00:00:00 2001
From: mrq <mrq@ecker.tech>
Date: Thu, 27 Apr 2023 14:40:22 +0000
Subject: [PATCH] boolean oops

---
 src/webui.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/webui.py b/src/webui.py
index bee19ae..f2a5ba6 100755
--- a/src/webui.py
+++ b/src/webui.py
@@ -406,7 +406,7 @@ def setup_gradio():
 				with gr.Column():
 					preset = None						
 					GENERATE_SETTINGS["candidates"] = gr.Slider(value=1, minimum=1, maximum=6, step=1, label="Candidates", visible=args.tts_backend=="tortoise")
-					GENERATE_SETTINGS["seed"] = gr.Number(value=0, precision=0, label="Seed", visible=args.tts_backend!="tortoise")
+					GENERATE_SETTINGS["seed"] = gr.Number(value=0, precision=0, label="Seed", visible=args.tts_backend=="tortoise")
 
 					preset = gr.Radio( ["Ultra Fast", "Fast", "Standard", "High Quality"], label="Preset", type="value", value="Ultra Fast", visible=args.tts_backend=="tortoise" )