text-generation-webui/modules/gradio_hijack.py
DominikKowalczyk 33c4ce0720
Bump gradio to 4.19 (#5419)
---------

Co-authored-by: oobabooga <112222186+oobabooga@users.noreply.github.com>
2024-02-14 23:28:26 -03:00

10 lines
132 B
Python

import gradio as gr
def Box(*args, **kwargs):
return gr.Blocks(*args, **kwargs)
if not hasattr(gr, 'Box'):
gr.Box = Box