'1'
Browse files
app.py
CHANGED
@@ -5,11 +5,13 @@ from gradio_client import Client, file
|
|
5 |
# return "Hello, " + name + "!" * int(intensity)
|
6 |
|
7 |
def test(text):
|
|
|
8 |
client = Client("stabilityai/stable-fast-3d")
|
|
|
9 |
result = client.predict(
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
)
|
14 |
|
15 |
# client = Client("stabilityai/TripoSR")
|
|
|
5 |
# return "Hello, " + name + "!" * int(intensity)
|
6 |
|
7 |
def test(text):
|
8 |
+
|
9 |
client = Client("stabilityai/stable-fast-3d")
|
10 |
+
|
11 |
result = client.predict(
|
12 |
+
input_image=file('https://stabilityai-stable-fast-3d.hf.space/file=/tmp/gradio/cedf71215ac1d8f6d44cd9cc94a65c5c2b5b76b0/banana.jpg'),
|
13 |
+
foreground_ratio=file('https://stabilityai-stable-fast-3d.hf.space/file=/tmp/gradio/cedf71215ac1d8f6d44cd9cc94a65c5c2b5b76b0/banana.jpg'),
|
14 |
+
api_name="/run_button"
|
15 |
)
|
16 |
|
17 |
# client = Client("stabilityai/TripoSR")
|