mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-10-30 06:00:15 +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
|