awacke1 commited on
Commit
d4495f4
1 Parent(s): 6c3489e

Update mycomponent/index.html

Browse files
Files changed (1) hide show
  1. mycomponent/index.html +2 -1
mycomponent/index.html CHANGED
@@ -120,7 +120,7 @@
120
 
121
  // Update the hidden input value
122
  document.getElementById('streamlit-data').value = fullTranscript;
123
- myInput.value = fullTranscript;
124
  }
125
  lastUpdateTime = Date.now();
126
  }
@@ -129,6 +129,7 @@
129
  output.scrollTop = output.scrollHeight;
130
 
131
  document.getElementById('streamlit-data').value = fullTranscript;
 
132
 
133
  };
134
 
 
120
 
121
  // Update the hidden input value
122
  document.getElementById('streamlit-data').value = fullTranscript;
123
+
124
  }
125
  lastUpdateTime = Date.now();
126
  }
 
129
  output.scrollTop = output.scrollHeight;
130
 
131
  document.getElementById('streamlit-data').value = fullTranscript;
132
+ sendDataToPython({value: fullTranscript,dataType: "json",});
133
 
134
  };
135