mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-12-01 11:54:04 +01:00
10 lines
132 B
Python
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
|