Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -495,6 +495,10 @@ def run_texture(image: Image, mesh_path: str, seed: int, req: gr.Request):
|
|
| 495 |
with gr.Blocks(title="PolyGenixAI", css="body { background-color: #1A1A1A; } .gr-panel { background-color: #2D2D2D; }") as demo:
|
| 496 |
gr.Markdown(HEADER)
|
| 497 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 498 |
with gr.Tabs(elem_classes="gr-tab"):
|
| 499 |
with gr.Tab("Create 3D Model"):
|
| 500 |
with gr.Row():
|
|
|
|
| 495 |
with gr.Blocks(title="PolyGenixAI", css="body { background-color: #1A1A1A; } .gr-panel { background-color: #2D2D2D; }") as demo:
|
| 496 |
gr.Markdown(HEADER)
|
| 497 |
|
| 498 |
+
@app.get("/api/test")
|
| 499 |
+
async def test_endpoint():
|
| 500 |
+
return {"message": "FastAPI is running"}
|
| 501 |
+
|
| 502 |
with gr.Tabs(elem_classes="gr-tab"):
|
| 503 |
with gr.Tab("Create 3D Model"):
|
| 504 |
with gr.Row():
|