radames commited on
Commit
e477ce0
1 Parent(s): 8c446e9

fix path for custom component

Browse files
interface/templates/index.js → custom_component.js RENAMED
File without changes
interface/app.py CHANGED
@@ -29,7 +29,7 @@ load_js = """
29
  async () => {
30
  const script = document.createElement('script');
31
  script.type = "module"
32
- script.src = "file=templates/index.js"
33
  document.head.appendChild(script);
34
  }
35
  """
 
29
  async () => {
30
  const script = document.createElement('script');
31
  script.type = "module"
32
+ script.src = "file=custom_component.js"
33
  document.head.appendChild(script);
34
  }
35
  """
interface/custom_component.js ADDED
@@ -0,0 +1 @@
 
 
1
+ ../custom_component.js