Spaces:
Build error
Build error
Delete app.py
Browse files
app.py
DELETED
|
@@ -1,28 +0,0 @@
|
|
| 1 |
-
import time
|
| 2 |
-
import gradio as gr
|
| 3 |
-
import os
|
| 4 |
-
|
| 5 |
-
AIUIUXEmojisforHealth="π©ββοΈπ©Ίππ©Ήπ§πΎββοΈπ©Έππ¨ββοΈπ€π§ πππ§πβΉοΈποΈπβοΈπ¦ π¬π§¬π§«"
|
| 6 |
-
|
| 7 |
-
def load_mesh(mesh_file_name):
|
| 8 |
-
return mesh_file_name, mesh_file_name
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
demo = gr.Interface(
|
| 12 |
-
fn=load_mesh,
|
| 13 |
-
inputs=gr.Model3D(),
|
| 14 |
-
outputs=[
|
| 15 |
-
gr.Model3D(
|
| 16 |
-
clear_color=[0.0, 0.0, 0.0, 0.0], label="3D Model"),
|
| 17 |
-
gr.File(label="Download 3D Model")
|
| 18 |
-
],
|
| 19 |
-
examples=[
|
| 20 |
-
|
| 21 |
-
[os.path.join(os.path.dirname(__file__), "files/Duck.glb")],
|
| 22 |
-
[os.path.join(os.path.dirname(__file__), "files/rubber_duck.glb")],
|
| 23 |
-
[os.path.join(os.path.dirname(__file__), "files/Wolf-Blender-2.82a.glb")]
|
| 24 |
-
],
|
| 25 |
-
)
|
| 26 |
-
|
| 27 |
-
if __name__ == "__main__":
|
| 28 |
-
demo.launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|