grlll commited on
Commit
a7653cb
·
1 Parent(s): 2b48fff
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -41,7 +41,7 @@ def create_interface():
41
  create_btn = gr.Button("Create Private MCP Server", variant="primary")
42
  create_status = gr.Markdown("")
43
 
44
- def create_health_landing_zone_with_progress(file_path: str, project_name: str, oauth_token: gr.OAuthToken | None, progress=gr.Progress()) -> str:
45
  """Wrapper function with progress tracking."""
46
  return create_health_landing_zone(file_path, project_name, oauth_token, progress)
47
 
@@ -284,8 +284,7 @@ Both repositories are private and only accessible by you.
284
  ).then(
285
  fn=create_health_landing_zone_with_progress,
286
  inputs=[file_input, space_name_input],
287
- outputs=[create_status],
288
- show_progress="full"
289
  ).then(
290
  fn=lambda: gr.update(interactive=True),
291
  outputs=[create_btn]
 
41
  create_btn = gr.Button("Create Private MCP Server", variant="primary")
42
  create_status = gr.Markdown("")
43
 
44
+ def create_health_landing_zone_with_progress(file_path: str, project_name: str, oauth_token: gr.OAuthToken | None, progress=gr.Progress(track_tqdm=True)) -> str:
45
  """Wrapper function with progress tracking."""
46
  return create_health_landing_zone(file_path, project_name, oauth_token, progress)
47
 
 
284
  ).then(
285
  fn=create_health_landing_zone_with_progress,
286
  inputs=[file_input, space_name_input],
287
+ outputs=[create_status]
 
288
  ).then(
289
  fn=lambda: gr.update(interactive=True),
290
  outputs=[create_btn]