Spaces:
Running
on
L40S
Running
on
L40S
Update app.py
Browse files
app.py
CHANGED
@@ -147,12 +147,16 @@ def deactivate_button() -> gr.Button:
|
|
147 |
return gr.Button(interactive=False)
|
148 |
|
149 |
|
150 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
151 |
gr.Markdown("""
|
152 |
-
##
|
153 |
-
* Upload an image and click "Generate" to create a 3D asset. If the image has alpha channel, it be used as the mask. Otherwise, we use `rembg` to remove the background.
|
154 |
-
* If you find the generated 3D asset satisfactory, click "Extract GLB" to extract the GLB file and download it.
|
155 |
-
""")
|
156 |
|
157 |
with gr.Row():
|
158 |
with gr.Column():
|
|
|
147 |
return gr.Button(interactive=False)
|
148 |
|
149 |
|
150 |
+
css = """
|
151 |
+
footer {
|
152 |
+
visibility: hidden;
|
153 |
+
}
|
154 |
+
"""
|
155 |
+
|
156 |
+
|
157 |
+
with gr.Blocks(theme="Yntec/HaleyCH_Theme_Orange", css=css) as demo:
|
158 |
gr.Markdown("""
|
159 |
+
## Craft3D""")
|
|
|
|
|
|
|
160 |
|
161 |
with gr.Row():
|
162 |
with gr.Column():
|