Arts-of-coding commited on
Commit
f293057
·
1 Parent(s): b0d6d8e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -9,8 +9,9 @@ my_env = os.environ.copy()
9
  # Please set your username and your Space name
10
  #
11
  my_env["HF_SPACE"] = "embed/Arts-of-coding/Corneal_meta-atlas"
 
 
12
  command = ["mercury", "run", f"0.0.0.0:{os.environ.get('PORT', 7860)}"]
13
  print(command)
14
  worker = Popen(command, env=my_env)
15
- worker.wait()
16
- gr.Interface.load("huggingface/Arts-of-coding/Corneal_meta-atlas",title=title,description=description,article=article,examples=examples,cache_examples=False).launch()
 
9
  # Please set your username and your Space name
10
  #
11
  my_env["HF_SPACE"] = "embed/Arts-of-coding/Corneal_meta-atlas"
12
+ command = ["rm", "-r", "gradio_cached_examples"]
13
+ gr.Interface.load("huggingface/Arts-of-coding/Corneal_meta-atlas",title=title,cache_examples=False).launch()
14
  command = ["mercury", "run", f"0.0.0.0:{os.environ.get('PORT', 7860)}"]
15
  print(command)
16
  worker = Popen(command, env=my_env)
17
+ worker.wait()