Spaces:
Runtime error
Runtime error
Commit
·
5078e2a
1
Parent(s):
98f4a4b
Update app.py
Browse files
app.py
CHANGED
|
@@ -64,5 +64,12 @@ def inference(prompt):
|
|
| 64 |
)
|
| 65 |
return fig
|
| 66 |
|
| 67 |
-
demo = gr.Interface(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 68 |
demo.launch(debug=True)
|
|
|
|
| 64 |
)
|
| 65 |
return fig
|
| 66 |
|
| 67 |
+
demo = gr.Interface(
|
| 68 |
+
fn=inference,
|
| 69 |
+
inputs="text",
|
| 70 |
+
outputs=gr.Plot(),
|
| 71 |
+
examples=[["a red motorcycle"]],
|
| 72 |
+
title="Point-E demo: text to 3D",
|
| 73 |
+
description="Generated 3D Point Cloiuds with [Point-E](https://github.com/openai/point-e/tree/main). This demo uses a small, worse quality text-to-3D model to produce 3D point clouds directly from text descriptions."
|
| 74 |
+
)
|
| 75 |
demo.launch(debug=True)
|