rupeshs commited on
Commit
e34a7f6
1 Parent(s): ad1690f

openvino enabled

Browse files
frontend/webui/text_to_image_ui.py CHANGED
@@ -141,8 +141,8 @@ def get_text_to_image_ui(app_settings: AppSettings) -> None:
141
 
142
  openvino_checkbox = gr.Checkbox(
143
  label="Use OpenVINO",
144
- value=False,
145
- interactive=enable_openvino_controls(),
146
  )
147
 
148
  safety_checker_checkbox = gr.Checkbox(
 
141
 
142
  openvino_checkbox = gr.Checkbox(
143
  label="Use OpenVINO",
144
+ value=True,
145
+ interactive=False,
146
  )
147
 
148
  safety_checker_checkbox = gr.Checkbox(
frontend/webui/ui.py CHANGED
@@ -19,7 +19,7 @@ def get_web_ui(app_settings: AppSettings) -> gr.Blocks:
19
  css=FastStableDiffusionPaths.get_css_path(),
20
  title="FastSD CPU",
21
  ) as fastsd_web_ui:
22
- gr.HTML("<center><H1>FastSD CPU</H1></center>")
23
  with gr.Tabs():
24
  with gr.TabItem("Text to Image"):
25
  get_text_to_image_ui(app_settings)
 
19
  css=FastStableDiffusionPaths.get_css_path(),
20
  title="FastSD CPU",
21
  ) as fastsd_web_ui:
22
+ gr.HTML("<center><H1>FastSD CPU demo (OpenVINO)</H1></center>")
23
  with gr.Tabs():
24
  with gr.TabItem("Text to Image"):
25
  get_text_to_image_ui(app_settings)