mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-04-04 22:27:29 +00:00
Bump gradio to 4.19 (#5522)
This commit is contained in:
parent
164ff2440d
commit
63a1d4afc8
26 changed files with 67 additions and 63 deletions
9
modules/gradio_hijack.py
Normal file
9
modules/gradio_hijack.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import gradio as gr
|
||||
|
||||
|
||||
def Box(*args, **kwargs):
|
||||
return gr.Blocks(*args, **kwargs)
|
||||
|
||||
|
||||
if not hasattr(gr, 'Box'):
|
||||
gr.Box = Box
|
||||
Loading…
Add table
Add a link
Reference in a new issue