Spaces:
Running
Running
Update mycomponent/index.html
Browse files- 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 |
-
|
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 |
|