Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ import time
|
|
27 |
#os.system("./cusparselt.sh")
|
28 |
#os.system("chmod +x ./cudnn.sh")
|
29 |
#os.system("./cudnn.sh")
|
30 |
-
from gradio import themes
|
31 |
|
32 |
torch.backends.cuda.matmul.allow_tf32 = False
|
33 |
torch.backends.cuda.matmul.allow_bf16_reduced_precision_reduction = False
|
@@ -274,7 +274,7 @@ def load_predefined_images1():
|
|
274 |
]
|
275 |
return predefined_images1
|
276 |
|
277 |
-
with gr.Blocks(theme=
|
278 |
gr.Markdown(DESCRIPTIONXX)
|
279 |
with gr.Row():
|
280 |
prompt = gr.Text(
|
|
|
27 |
#os.system("./cusparselt.sh")
|
28 |
#os.system("chmod +x ./cudnn.sh")
|
29 |
#os.system("./cudnn.sh")
|
30 |
+
#from gradio import themes
|
31 |
|
32 |
torch.backends.cuda.matmul.allow_tf32 = False
|
33 |
torch.backends.cuda.matmul.allow_bf16_reduced_precision_reduction = False
|
|
|
274 |
]
|
275 |
return predefined_images1
|
276 |
|
277 |
+
with gr.Blocks(theme=gr.themes.Base()) as demo:
|
278 |
gr.Markdown(DESCRIPTIONXX)
|
279 |
with gr.Row():
|
280 |
prompt = gr.Text(
|