debugging
Browse files
app.py
CHANGED
|
@@ -163,14 +163,12 @@ with gr.Blocks() as demo:
|
|
| 163 |
* If you find the generated 3D asset satisfactory, click "Extract GLB" to extract the GLB file and download it.
|
| 164 |
""")
|
| 165 |
|
|
|
|
| 166 |
with gr.Row():
|
| 167 |
-
|
| 168 |
-
|
| 169 |
-
|
| 170 |
-
btn.click(fn=update, inputs=inp, outputs=out)
|
| 171 |
|
| 172 |
-
# with gr.Row():
|
| 173 |
-
# with gr.Column():
|
| 174 |
# image_prompt = gr.Image(label="Image Prompt", image_mode="RGBA", type="pil", height=300)
|
| 175 |
|
| 176 |
# with gr.Accordion(label="Generation Settings", open=False):
|
|
@@ -198,6 +196,9 @@ with gr.Blocks() as demo:
|
|
| 198 |
# model_output = LitModel3D(label="Extracted GLB", exposure=20.0, height=300)
|
| 199 |
# download_glb = gr.DownloadButton(label="Download GLB", interactive=False)
|
| 200 |
|
|
|
|
|
|
|
|
|
|
| 201 |
# trial_id = gr.Textbox(visible=False)
|
| 202 |
# output_buf = gr.State()
|
| 203 |
|
|
|
|
| 163 |
* If you find the generated 3D asset satisfactory, click "Extract GLB" to extract the GLB file and download it.
|
| 164 |
""")
|
| 165 |
|
| 166 |
+
|
| 167 |
with gr.Row():
|
| 168 |
+
with gr.Column():
|
| 169 |
+
inp = gr.Textbox(placeholder="What is your name?")
|
| 170 |
+
out = gr.Textbox()
|
|
|
|
| 171 |
|
|
|
|
|
|
|
| 172 |
# image_prompt = gr.Image(label="Image Prompt", image_mode="RGBA", type="pil", height=300)
|
| 173 |
|
| 174 |
# with gr.Accordion(label="Generation Settings", open=False):
|
|
|
|
| 196 |
# model_output = LitModel3D(label="Extracted GLB", exposure=20.0, height=300)
|
| 197 |
# download_glb = gr.DownloadButton(label="Download GLB", interactive=False)
|
| 198 |
|
| 199 |
+
btn = gr.Button("Run")
|
| 200 |
+
btn.click(fn=update, inputs=inp, outputs=out)
|
| 201 |
+
|
| 202 |
# trial_id = gr.Textbox(visible=False)
|
| 203 |
# output_buf = gr.State()
|
| 204 |
|