Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -41,7 +41,7 @@ def text_to_image(height, width, steps, scales, prompt, seed):
|
|
41 |
/process_and_save_image 엔드포인트를 호출하여 이미지를 생성한다.
|
42 |
"""
|
43 |
from gradio_client import Client
|
44 |
-
client =
|
45 |
result = client.predict(
|
46 |
height,
|
47 |
width,
|
|
|
41 |
/process_and_save_image 엔드포인트를 호출하여 이미지를 생성한다.
|
42 |
"""
|
43 |
from gradio_client import Client
|
44 |
+
client = os.getenv("CLIENT_API")
|
45 |
result = client.predict(
|
46 |
height,
|
47 |
width,
|