mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-10-01 01:26:03 -04: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
|