Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -494,6 +494,8 @@ if __name__ == "__main__":
|
|
| 494 |
print("Running in a Hugging Face Space, checking for audio files...")
|
| 495 |
# In a real deployment, you'd ensure the audio files are in the repo.
|
| 496 |
# This is just a placeholder check.
|
|
|
|
|
|
|
| 497 |
all_files = [q["audio"][0] for q in QUESTION_SET] + [d["audio"][0] for d in DIMENSIONS_DATA]
|
| 498 |
for audio_file in set(all_files):
|
| 499 |
if not os.path.exists(audio_file):
|
|
|
|
| 494 |
print("Running in a Hugging Face Space, checking for audio files...")
|
| 495 |
# In a real deployment, you'd ensure the audio files are in the repo.
|
| 496 |
# This is just a placeholder check.
|
| 497 |
+
print(QUESTION_SET[0])
|
| 498 |
+
print(DIMENSIONS_DATA[0])
|
| 499 |
all_files = [q["audio"][0] for q in QUESTION_SET] + [d["audio"][0] for d in DIMENSIONS_DATA]
|
| 500 |
for audio_file in set(all_files):
|
| 501 |
if not os.path.exists(audio_file):
|