jadechoghari commited on
Commit
a1a5a34
·
verified ·
1 Parent(s): 0eb00d8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -31,6 +31,9 @@ def load_cached_example_outputs(example_index: int) -> Tuple[str, str]:
31
  cached_image_path = os.path.join(cached_dir, "processed_image.png")
32
  cached_audio_path = os.path.join(cached_dir, "audio.wav")
33
 
 
 
 
34
  # Ensure cached files exist
35
  if os.path.exists(cached_image_path) and os.path.exists(cached_audio_path):
36
  return cached_image_path, cached_audio_path
@@ -151,5 +154,5 @@ with gr.Blocks(css=css) as demo:
151
  )
152
 
153
  if __name__ == "__main__":
154
- demo.launch()
155
 
 
31
  cached_image_path = os.path.join(cached_dir, "processed_image.png")
32
  cached_audio_path = os.path.join(cached_dir, "audio.wav")
33
 
34
+ print(f"Looking for cached image at: {cached_image_path}")
35
+ print(f"Looking for cached audio at: {cached_audio_path}")
36
+
37
  # Ensure cached files exist
38
  if os.path.exists(cached_image_path) and os.path.exists(cached_audio_path):
39
  return cached_image_path, cached_audio_path
 
154
  )
155
 
156
  if __name__ == "__main__":
157
+ demo.launch(debug=True)
158