Spaces:
Runtime error
Runtime error
Create app.py
Browse files
app.py
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
ABOUT_TEXT = """
|
| 3 |
+
# Text-to-3D with TripoSR + SDXL
|
| 4 |
+
|
| 5 |
+
Commercially-viable text-to-3D model. Usage must comply with the SDXL license.
|
| 6 |
+
|
| 7 |
+
For image-to-3D, use [TripoSR](https://huggingface.co/spaces/stabilityai/TripoSR) directly.
|
| 8 |
+
""".strip()
|
| 9 |
+
with gr.Blocks() as demo:
|
| 10 |
+
gr.Markdown(ABOUT_TEXT)
|
| 11 |
+
demo.queue(api_open=False, default_concurrency_limit=20).launch(show_api=False)
|