mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-22 16:17:57 +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
|