Daryl Fung commited on
Commit
0dcf2b7
1 Parent(s): 6465a88

updated app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -1612,6 +1612,8 @@ with gr.Blocks(title="RVC WebUI") as app:
1612
  with gr.TabItem("File Explorer (download)"):
1613
  with gr.Row():
1614
  def file_changing(x):
 
 
1615
  name = Path(x).name
1616
  return gr.DownloadButton(label=f"Download {name}", value=name, visible=True)
1617
  file = gr.FileExplorer(file_count='single')
@@ -1633,10 +1635,10 @@ with gr.Blocks(title="RVC WebUI") as app:
1633
 
1634
  try:
1635
  if config.iscolab:
1636
- app.queue(max_size=1022).launch()
1637
  else:
1638
  app.queue(max_size=1022).launch(
1639
-
1640
  )
1641
  except Exception as e:
1642
  logger.error(str(e))
 
1612
  with gr.TabItem("File Explorer (download)"):
1613
  with gr.Row():
1614
  def file_changing(x):
1615
+ print('@@@@@@@@@@@@@@@@@@')
1616
+ print(x)
1617
  name = Path(x).name
1618
  return gr.DownloadButton(label=f"Download {name}", value=name, visible=True)
1619
  file = gr.FileExplorer(file_count='single')
 
1635
 
1636
  try:
1637
  if config.iscolab:
1638
+ app.queue(max_size=1022).launch(share=True)
1639
  else:
1640
  app.queue(max_size=1022).launch(
1641
+ share=True
1642
  )
1643
  except Exception as e:
1644
  logger.error(str(e))