mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-29 02:49:30 +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
|