Spaces:
Sleeping
Sleeping
Kaixuanliu
commited on
Commit
•
06cb9c2
1
Parent(s):
e36b995
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ from about import (
|
|
27 |
)
|
28 |
|
29 |
|
30 |
-
def excute_udiff(diffusion_model_id, concept,
|
31 |
print(f"my IP is {myip}, my port is {myport}")
|
32 |
print(f"my input is diffusion_model_id: {diffusion_model_id}, concept: {concept}, steps: {steps}")
|
33 |
result = requests.post('http://{}:{}/udiff'.format(myip, myport), json={"diffusion_model_id": diffusion_model_id, "concept": concept, "step": step})
|
|
|
27 |
)
|
28 |
|
29 |
|
30 |
+
def excute_udiff(diffusion_model_id, concept, steps):
|
31 |
print(f"my IP is {myip}, my port is {myport}")
|
32 |
print(f"my input is diffusion_model_id: {diffusion_model_id}, concept: {concept}, steps: {steps}")
|
33 |
result = requests.post('http://{}:{}/udiff'.format(myip, myport), json={"diffusion_model_id": diffusion_model_id, "concept": concept, "step": step})
|