ysharma HF Staff commited on
Commit
0f205c3
·
verified ·
1 Parent(s): bfe2f89

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -22,6 +22,7 @@ new_directory_name = os.environ['GRADIO_TEMP_DIR']
22
  new_directory_path = os.path.join(current_directory, new_directory_name)
23
  print(f"The path to the new directory is: {new_directory_path}")
24
 
 
25
 
26
  def create():
27
  """
 
22
  new_directory_path = os.path.join(current_directory, new_directory_name)
23
  print(f"The path to the new directory is: {new_directory_path}")
24
 
25
+ os.environ['GRADIO_TEMP_DIR'] = new_directory_path
26
 
27
  def create():
28
  """