Upload app_hg.py with huggingface_hub
Browse files
app_hg.py
CHANGED
@@ -359,10 +359,11 @@ with gr.Blocks() as demo:
|
|
359 |
).success(
|
360 |
fn=stage_3_v23, inputs=[views_image, cond_image, textgen_SEED, save_folder, textgen_max_faces, textgen_do_texture_mapping, textgen_do_render_gif],
|
361 |
outputs=[result_3dobj, result_3dglb],
|
362 |
-
).success(
|
363 |
-
fn=stage_4_gif, inputs=[result_3dglb, save_folder, textgen_do_render_gif],
|
364 |
-
outputs=[result_gif],
|
365 |
).success(lambda: print('Text_to_3D Done ...'))
|
|
|
|
|
|
|
|
|
366 |
|
367 |
imggen_submit.click(
|
368 |
fn=stage_0_t2i, inputs=[none, input_image, textgen_seed, textgen_step],
|
@@ -376,10 +377,11 @@ with gr.Blocks() as demo:
|
|
376 |
).success(
|
377 |
fn=stage_3_v23, inputs=[views_image, cond_image, imggen_SEED, save_folder, imggen_max_faces, imggen_do_texture_mapping, imggen_do_render_gif],
|
378 |
outputs=[result_3dobj, result_3dglb],
|
379 |
-
).success(
|
380 |
-
fn=stage_4_gif, inputs=[result_3dglb, save_folder, imggen_do_render_gif],
|
381 |
-
outputs=[result_gif],
|
382 |
).success(lambda: print('Image_to_3D Done ...'))
|
|
|
|
|
|
|
|
|
383 |
|
384 |
#===============================================================
|
385 |
|
|
|
359 |
).success(
|
360 |
fn=stage_3_v23, inputs=[views_image, cond_image, textgen_SEED, save_folder, textgen_max_faces, textgen_do_texture_mapping, textgen_do_render_gif],
|
361 |
outputs=[result_3dobj, result_3dglb],
|
|
|
|
|
|
|
362 |
).success(lambda: print('Text_to_3D Done ...'))
|
363 |
+
# .success(
|
364 |
+
# fn=stage_4_gif, inputs=[result_3dglb, save_folder, textgen_do_render_gif],
|
365 |
+
# outputs=[result_gif],
|
366 |
+
# ).success(lambda: print('Text_to_3D Done ...'))
|
367 |
|
368 |
imggen_submit.click(
|
369 |
fn=stage_0_t2i, inputs=[none, input_image, textgen_seed, textgen_step],
|
|
|
377 |
).success(
|
378 |
fn=stage_3_v23, inputs=[views_image, cond_image, imggen_SEED, save_folder, imggen_max_faces, imggen_do_texture_mapping, imggen_do_render_gif],
|
379 |
outputs=[result_3dobj, result_3dglb],
|
|
|
|
|
|
|
380 |
).success(lambda: print('Image_to_3D Done ...'))
|
381 |
+
# success(
|
382 |
+
# fn=stage_4_gif, inputs=[result_3dglb, save_folder, imggen_do_render_gif],
|
383 |
+
# outputs=[result_gif],
|
384 |
+
# ).success(lambda: print('Image_to_3D Done ...'))
|
385 |
|
386 |
#===============================================================
|
387 |
|