Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -902,5 +902,6 @@ with gr.Blocks(css=css) as interface:
902
  if __name__ == "__main__":
903
  if USE_COLAB:
904
  print("Running in colab mode")
905
-
906
- interface.launch(max_size=10).launch(share=USE_COLAB)
 
 
902
  if __name__ == "__main__":
903
  if USE_COLAB:
904
  print("Running in colab mode")
905
+ interface.launch(share=True) # Launch with sharing enabled
906
+ else:
907
+ interface.launch(share=False) # Launch without sharing