m7n commited on
Commit
0795b05
·
1 Parent(s): 031410e

setting share to true

Browse files
Files changed (1) hide show
  1. app.py +4 -6
app.py CHANGED
@@ -447,8 +447,6 @@ def predict(request: gr.Request, text_input, sample_size_slider, reduce_sample_c
447
 
448
 
449
 
450
-
451
-
452
  progress(1.0, desc="Done!")
453
  print(f"Total pipeline completed in {time.time() - start_time:.2f} seconds")
454
  iframe = f"""<iframe src="file={html_file_path}" width="100%" height="1000px"></iframe>"""
@@ -663,9 +661,9 @@ with gr.Blocks(theme=theme, css="""
663
  )
664
 
665
 
666
- demo.static_dirs = {
667
- "static": str(static_dir)
668
- }
669
 
670
 
671
  # Mount and run app
@@ -675,4 +673,4 @@ demo.static_dirs = {
675
 
676
 
677
  if __name__ == "__main__":
678
- demo.launch(server_name="0.0.0.0", server_port=7860, share=False)
 
447
 
448
 
449
 
 
 
450
  progress(1.0, desc="Done!")
451
  print(f"Total pipeline completed in {time.time() - start_time:.2f} seconds")
452
  iframe = f"""<iframe src="file={html_file_path}" width="100%" height="1000px"></iframe>"""
 
661
  )
662
 
663
 
664
+ # demo.static_dirs = {
665
+ # "static": str(static_dir)
666
+ # }
667
 
668
 
669
  # Mount and run app
 
673
 
674
 
675
  if __name__ == "__main__":
676
+ demo.launch(server_name="0.0.0.0", server_port=7860, share=True)