Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
|