Spaces:
Running
on
Zero
Running
on
Zero
SunderAli17
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -182,7 +182,7 @@ function refresh() {
|
|
182 |
|
183 |
def create_demo(args, model_name: str, device: str = "cuda" if torch.cuda.is_available() else "cpu",
|
184 |
offload: bool = False):
|
185 |
-
with gr.Blocks(
|
186 |
gr.Markdown(MARKDOWN)
|
187 |
|
188 |
with gr.Row():
|
|
|
182 |
|
183 |
def create_demo(args, model_name: str, device: str = "cuda" if torch.cuda.is_available() else "cpu",
|
184 |
offload: bool = False):
|
185 |
+
with gr.Blocks(js = js_func, theme = theme) as demo:
|
186 |
gr.Markdown(MARKDOWN)
|
187 |
|
188 |
with gr.Row():
|