Spaces:
Running
on
L40S
Running
on
L40S
Update gradio_app.py
Browse files- gradio_app.py +1 -7
gradio_app.py
CHANGED
@@ -120,12 +120,7 @@ def generate_and_process_3d(prompt: str, seed: int = 42, width: int = 1024, heig
|
|
120 |
except Exception as e:
|
121 |
return str(e), None
|
122 |
|
123 |
-
|
124 |
-
examples = [
|
125 |
-
"a tiny astronaut hatching from an egg on the moon",
|
126 |
-
"a cat holding a sign that says hello world",
|
127 |
-
"an anime illustration of a wiener schnitzel",
|
128 |
-
]
|
129 |
|
130 |
demo = gr.Interface(
|
131 |
fn=generate_and_process_3d,
|
@@ -168,7 +163,6 @@ demo = gr.Interface(
|
|
168 |
],
|
169 |
title="Text to 3D Model Generator",
|
170 |
description="Enter a text prompt to generate an image that will be converted into a 3D model",
|
171 |
-
examples=examples
|
172 |
)
|
173 |
|
174 |
if __name__ == "__main__":
|
|
|
120 |
except Exception as e:
|
121 |
return str(e), None
|
122 |
|
123 |
+
|
|
|
|
|
|
|
|
|
|
|
124 |
|
125 |
demo = gr.Interface(
|
126 |
fn=generate_and_process_3d,
|
|
|
163 |
],
|
164 |
title="Text to 3D Model Generator",
|
165 |
description="Enter a text prompt to generate an image that will be converted into a 3D model",
|
|
|
166 |
)
|
167 |
|
168 |
if __name__ == "__main__":
|