silveroxides commited on
Commit
aaee40e
·
1 Parent(s): ea83b7f

fix: Gradio 6.0 compatibility - move theme to launch(), remove deprecated show_api

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -275,7 +275,7 @@ Quantize safetensors models to FP8/INT8 formats for efficient inference in Comfy
275
  - **INT8 Block**: INT8 with per-block scaling (Triton-based)
276
  """
277
 
278
- with gr.Blocks(theme=gr.themes.Soft()) as demo:
279
  gr.Markdown(DESCRIPTION)
280
 
281
  with gr.Row():
@@ -375,4 +375,4 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
375
  )
376
 
377
  if __name__ == "__main__":
378
- demo.launch(show_api=True)
 
275
  - **INT8 Block**: INT8 with per-block scaling (Triton-based)
276
  """
277
 
278
+ with gr.Blocks() as demo:
279
  gr.Markdown(DESCRIPTION)
280
 
281
  with gr.Row():
 
375
  )
376
 
377
  if __name__ == "__main__":
378
+ demo.launch(theme=gr.themes.Soft())