Pepguy commited on
Commit
9d5578b
·
verified ·
1 Parent(s): 3e1a9ed

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +1 -0
index.html CHANGED
@@ -75,6 +75,7 @@ generateButton.addEventListener("click", async () => {
75
  audioElement.play();
76
 
77
  } catch (error) {
 
78
  console.error("Error generating audio:", error);
79
  audioOutputDiv.innerHTML = `<p>Error: ${error.message}</p>`;
80
  } finally {
 
75
  audioElement.play();
76
 
77
  } catch (error) {
78
+ alert("Error generating audio:", error);
79
  console.error("Error generating audio:", error);
80
  audioOutputDiv.innerHTML = `<p>Error: ${error.message}</p>`;
81
  } finally {