dkatz2391 commited on
Commit
31d67e5
·
verified ·
1 Parent(s): 65efd4c

fix UI ersion

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -172,7 +172,7 @@ def extract_gaussian(state: dict, req: gr.Request) -> Tuple[str, str]:
172
  return gaussian_path, gaussian_path
173
 
174
 
175
- output_buf = gr.JSON()
176
  video_output = gr.Video(label="Generated 3D Asset", autoplay=True, loop=True, height=300)
177
 
178
  with gr.Blocks(delete_cache=(600, 600)) as demo:
@@ -219,7 +219,7 @@ with gr.Blocks(delete_cache=(600, 600)) as demo:
219
  download_glb = gr.DownloadButton(label="Download GLB", interactive=False)
220
  download_gs = gr.DownloadButton(label="Download Gaussian", interactive=False)
221
 
222
- output_buf = gr.JSON()
223
 
224
  # Handlers
225
  demo.load(start_session)
 
172
  return gaussian_path, gaussian_path
173
 
174
 
175
+ output_buf = gr.State()
176
  video_output = gr.Video(label="Generated 3D Asset", autoplay=True, loop=True, height=300)
177
 
178
  with gr.Blocks(delete_cache=(600, 600)) as demo:
 
219
  download_glb = gr.DownloadButton(label="Download GLB", interactive=False)
220
  download_gs = gr.DownloadButton(label="Download Gaussian", interactive=False)
221
 
222
+ output_buf = gr.State()
223
 
224
  # Handlers
225
  demo.load(start_session)