Spaces:
Running
Running
disable share btn
Browse files- Dockerfile +1 -1
- launch.py +2 -0
Dockerfile
CHANGED
@@ -12,7 +12,7 @@ RUN pip3 install --no-cache-dir \
|
|
12 |
numpy \
|
13 |
trimesh \
|
14 |
Pillow \
|
15 |
-
gradio==4.
|
16 |
bpy
|
17 |
|
18 |
# Set up a new user named "user" with user ID 1000
|
|
|
12 |
numpy \
|
13 |
trimesh \
|
14 |
Pillow \
|
15 |
+
gradio==4.40.0 \
|
16 |
bpy
|
17 |
|
18 |
# Set up a new user named "user" with user ID 1000
|
launch.py
CHANGED
@@ -204,6 +204,7 @@ with gr.Blocks(title=_TITLE, css="style.css", theme=custom_theme) as demo:
|
|
204 |
rows=[2],
|
205 |
object_fit="contain",
|
206 |
height=400,
|
|
|
207 |
)
|
208 |
input_image = gr.Image(
|
209 |
type="pil",
|
@@ -218,6 +219,7 @@ with gr.Blocks(title=_TITLE, css="style.css", theme=custom_theme) as demo:
|
|
218 |
object_fit="contain",
|
219 |
height=400,
|
220 |
interactive=False,
|
|
|
221 |
)
|
222 |
with gr.Row():
|
223 |
with gr.Column(scale=5):
|
|
|
204 |
rows=[2],
|
205 |
object_fit="contain",
|
206 |
height=400,
|
207 |
+
show_share_button=False,
|
208 |
)
|
209 |
input_image = gr.Image(
|
210 |
type="pil",
|
|
|
219 |
object_fit="contain",
|
220 |
height=400,
|
221 |
interactive=False,
|
222 |
+
show_share_button=False,
|
223 |
)
|
224 |
with gr.Row():
|
225 |
with gr.Column(scale=5):
|