m7n commited on
Commit
a7f48bd
·
1 Parent(s): 66a3d8f
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ static_dir = Path('./static')
13
  static_dir.mkdir(parents=True, exist_ok=True)
14
  os.environ["GRADIO_ALLOWED_PATHS"] = str(static_dir.resolve())
15
  #export GRADIO_ALLOWED_PATHS="/static"
16
- print(os.environ["GRADIO_ALLOWED_PATHS"] )
17
 
18
  @spaces.GPU(duration=10)
19
  def predict(request: gr.Request,text_input):
 
13
  static_dir.mkdir(parents=True, exist_ok=True)
14
  os.environ["GRADIO_ALLOWED_PATHS"] = str(static_dir.resolve())
15
  #export GRADIO_ALLOWED_PATHS="/static"
16
+ print("os.environ['GRADIO_ALLOWED_PATHS'] = ",os.environ["GRADIO_ALLOWED_PATHS"] )
17
 
18
  @spaces.GPU(duration=10)
19
  def predict(request: gr.Request,text_input):