simonduerr commited on
Commit
7ef3fb3
1 Parent(s): 52235c5

Upload folder using huggingface_hub

Browse files
README.md CHANGED
@@ -1,9 +1,9 @@
1
 
2
  ---
3
  tags: [gradio-custom-component,gradio-template-Textbox]
4
- title: gradio_cofoldinginput V0.0.2
5
- colorFrom: purple
6
- colorTo: pink
7
  sdk: docker
8
  pinned: false
9
  license: apache-2.0
 
1
 
2
  ---
3
  tags: [gradio-custom-component,gradio-template-Textbox]
4
+ title: gradio_cofoldinginput V0.0.3
5
+ colorFrom: indigo
6
+ colorTo: gray
7
  sdk: docker
8
  pinned: false
9
  license: apache-2.0
space.py CHANGED
@@ -21,7 +21,7 @@ with gr.Blocks(
21
  # `gradio_cofoldinginput`
22
 
23
  <div style="display: flex; gap: 7px;">
24
- <img alt="Static Badge" src="https://img.shields.io/badge/version%20-%200.0.2%20-%20orange">
25
  </div>
26
 
27
  Component to enter protein and DNA sequences + small molecules for cofolding
 
21
  # `gradio_cofoldinginput`
22
 
23
  <div style="display: flex; gap: 7px;">
24
+ <a href="https://pypi.org/project/gradio_cofoldinginput/" target="_blank"><img alt="PyPI - Version" src="https://img.shields.io/pypi/v/gradio_cofoldinginput"></a>
25
  </div>
26
 
27
  Component to enter protein and DNA sequences + small molecules for cofolding
src/README.md CHANGED
@@ -1,6 +1,6 @@
1
 
2
  # `gradio_cofoldinginput`
3
- <img alt="Static Badge" src="https://img.shields.io/badge/version%20-%200.0.2%20-%20orange">
4
 
5
  Component to enter protein and DNA sequences + small molecules for cofolding
6
 
 
1
 
2
  # `gradio_cofoldinginput`
3
+ <a href="https://pypi.org/project/gradio_cofoldinginput/" target="_blank"><img alt="PyPI - Version" src="https://img.shields.io/pypi/v/gradio_cofoldinginput"></a>
4
 
5
  Component to enter protein and DNA sequences + small molecules for cofolding
6
 
src/backend/gradio_cofoldinginput/templates/component/index.js CHANGED
@@ -26832,7 +26832,7 @@ function instance$5(y, s, e) {
26832
  }), e(0, o);
26833
  }
26834
  function C(n) {
26835
- o.splice(n.detail, 1), e(0, o);
26836
  }
26837
  function L(n) {
26838
  let b = o.find((t) => t.class === "protein").chain;
 
26832
  }), e(0, o);
26833
  }
26834
  function C(n) {
26835
+ o.splice(n.detail, 1), e(0, o), g("updateVals", o);
26836
  }
26837
  function L(n) {
26838
  let b = o.find((t) => t.class === "protein").chain;
src/demo/space.py CHANGED
@@ -21,7 +21,7 @@ with gr.Blocks(
21
  # `gradio_cofoldinginput`
22
 
23
  <div style="display: flex; gap: 7px;">
24
- <img alt="Static Badge" src="https://img.shields.io/badge/version%20-%200.0.2%20-%20orange">
25
  </div>
26
 
27
  Component to enter protein and DNA sequences + small molecules for cofolding
 
21
  # `gradio_cofoldinginput`
22
 
23
  <div style="display: flex; gap: 7px;">
24
+ <a href="https://pypi.org/project/gradio_cofoldinginput/" target="_blank"><img alt="PyPI - Version" src="https://img.shields.io/pypi/v/gradio_cofoldinginput"></a>
25
  </div>
26
 
27
  Component to enter protein and DNA sequences + small molecules for cofolding
src/frontend/shared/SequenceInput.svelte CHANGED
@@ -192,6 +192,7 @@
192
  function remove(event) {
193
  vals.splice(event.detail, 1);
194
  vals = vals;
 
195
  }
196
 
197
  async function fetchMolecules(pdbId) {
 
192
  function remove(event) {
193
  vals.splice(event.detail, 1);
194
  vals = vals;
195
+ dispatch("updateVals", vals);
196
  }
197
 
198
  async function fetchMolecules(pdbId) {
src/pyproject.toml CHANGED
@@ -8,7 +8,7 @@ build-backend = "hatchling.build"
8
 
9
  [project]
10
  name = "gradio_cofoldinginput"
11
- version = "0.0.2"
12
  description = "Component to enter protein and DNA sequences + small molecules for cofolding"
13
  readme = "README.md"
14
  license = "MIT"
@@ -36,7 +36,7 @@ classifiers = [
36
  dev = ["build", "twine"]
37
 
38
  [tool.hatch.build]
39
- artifacts = ["/backend/gradio_cofoldinginput/templates", "*.pyi", "backend/gradio_cofoldinginput/templates", "backend/gradio_cofoldinginput/templates", "backend/gradio_cofoldinginput/templates", "backend/gradio_cofoldinginput/templates", "backend/gradio_cofoldinginput/templates"]
40
 
41
  [tool.hatch.build.targets.wheel]
42
  packages = ["/backend/gradio_cofoldinginput"]
 
8
 
9
  [project]
10
  name = "gradio_cofoldinginput"
11
+ version = "0.0.3"
12
  description = "Component to enter protein and DNA sequences + small molecules for cofolding"
13
  readme = "README.md"
14
  license = "MIT"
 
36
  dev = ["build", "twine"]
37
 
38
  [tool.hatch.build]
39
+ artifacts = ["/backend/gradio_cofoldinginput/templates", "*.pyi", "backend/gradio_cofoldinginput/templates", "backend/gradio_cofoldinginput/templates", "backend/gradio_cofoldinginput/templates", "backend/gradio_cofoldinginput/templates", "backend/gradio_cofoldinginput/templates", "backend/gradio_cofoldinginput/templates"]
40
 
41
  [tool.hatch.build.targets.wheel]
42
  packages = ["/backend/gradio_cofoldinginput"]