awacke1 commited on
Commit
93d79a5
·
verified ·
1 Parent(s): 99250d0

Create speech_component/__init__.py

Browse files
Files changed (1) hide show
  1. speech_component/__init__.py +9 -0
speech_component/__init__.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ from pathlib import Path
2
+ import streamlit.components.v1 as components
3
+
4
+ # Declare the component
5
+ _COMPONENT_PATH = Path(__file__).parent
6
+ mycomponent = components.declare_component(
7
+ "speech_component",
8
+ path=str(_COMPONENT_PATH)
9
+ )