jadechoghari commited on
Commit
8575490
1 Parent(s): cfb23a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -23,6 +23,8 @@ with open("config.yaml", "w") as file:
23
  model = see2sound.See2Sound(config_path="config.yaml")
24
  model.setup()
25
 
 
 
26
  #for local cache
27
  def load_cached_example_outputs(example_index: int) -> Tuple[str, str]:
28
  cached_dir = os.path.join(CACHE_DIR, str(example_index)) # Use the example index to find the directory
 
23
  model = see2sound.See2Sound(config_path="config.yaml")
24
  model.setup()
25
 
26
+ CACHE_DIR = "gradio_cached_examples"
27
+
28
  #for local cache
29
  def load_cached_example_outputs(example_index: int) -> Tuple[str, str]:
30
  cached_dir = os.path.join(CACHE_DIR, str(example_index)) # Use the example index to find the directory