Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -301,16 +301,16 @@ def query(prompt, model, custom_lora, is_negative=False, steps=35, cfg_scale=7,
|
|
301 |
print(f"Error while trying to open image: {e}") # Debug log
|
302 |
return None
|
303 |
|
304 |
-
# Custom CSS to hide the footer in the interface
|
305 |
css = """
|
306 |
-
|
307 |
-
|
|
|
308 |
"""
|
309 |
|
310 |
print("Initializing Gradio interface...") # Debug log
|
311 |
|
312 |
# Define the Gradio interface
|
313 |
-
with gr.Blocks(theme=
|
314 |
# Tab for basic settings
|
315 |
with gr.Tab("Basic Settings"):
|
316 |
with gr.Row():
|
|
|
301 |
print(f"Error while trying to open image: {e}") # Debug log
|
302 |
return None
|
303 |
|
|
|
304 |
css = """
|
305 |
+
footer {
|
306 |
+
visibility: hidden;
|
307 |
+
}
|
308 |
"""
|
309 |
|
310 |
print("Initializing Gradio interface...") # Debug log
|
311 |
|
312 |
# Define the Gradio interface
|
313 |
+
with gr.Blocks(theme="Yntec/HaleyCH_Theme_Orange", css=css) as dalle:
|
314 |
# Tab for basic settings
|
315 |
with gr.Tab("Basic Settings"):
|
316 |
with gr.Row():
|