Spaces:
Running
on
Zero
Running
on
Zero
xinjie.wang
commited on
Commit
·
8571ded
1
Parent(s):
504a9ab
update
Browse files- app.py +2 -1
- requirements.txt +3 -3
app.py
CHANGED
@@ -39,6 +39,7 @@ with gr.Blocks(
|
|
39 |
format="png",
|
40 |
image_mode="RGB",
|
41 |
type="pil",
|
|
|
42 |
)
|
43 |
image_prompt = gr.Image(
|
44 |
label="Input Image",
|
@@ -443,4 +444,4 @@ with gr.Blocks(
|
|
443 |
|
444 |
|
445 |
if __name__ == "__main__":
|
446 |
-
demo.launch()
|
|
|
39 |
format="png",
|
40 |
image_mode="RGB",
|
41 |
type="pil",
|
42 |
+
visible=False,
|
43 |
)
|
44 |
image_prompt = gr.Image(
|
45 |
label="Input Image",
|
|
|
444 |
|
445 |
|
446 |
if __name__ == "__main__":
|
447 |
+
demo.launch(server_name="10.34.8.82", server_port=8084)
|
requirements.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
--extra-index-url https://download.pytorch.org/whl/cu121
|
2 |
|
3 |
|
4 |
-
torch==2.4.0
|
5 |
-
torchvision==0.19.0
|
6 |
-
xformers==0.0.27.post2
|
7 |
pytorch-lightning==2.4.0
|
8 |
spconv-cu120==2.3.6
|
9 |
dataclasses_json
|
|
|
1 |
--extra-index-url https://download.pytorch.org/whl/cu121
|
2 |
|
3 |
|
4 |
+
torch==2.4.0+cu121
|
5 |
+
torchvision==0.19.0+cu121
|
6 |
+
xformers==0.0.27.post2+cu121
|
7 |
pytorch-lightning==2.4.0
|
8 |
spconv-cu120==2.3.6
|
9 |
dataclasses_json
|