PhDFlo commited on
Commit
e8373ce
·
1 Parent(s): f8ea1d3

Add packages to requirements and delete main.py

Browse files
Files changed (3) hide show
  1. app.py +7 -2
  2. main.py +0 -6
  3. requirements.txt +2 -0
app.py CHANGED
@@ -1,12 +1,17 @@
 
1
  from pathlib import Path
2
  from typing import Optional
3
  from uuid import uuid4
4
  import hashlib
5
  import json
6
-
7
  import gradio as gr
 
 
8
  from modal_app import app, chai1_inference, download_inference_dependencies, here
9
-
 
 
 
10
  def compute_Chai1(
11
  force_redownload: bool = False,
12
  fasta_file: Optional[str] = None,
 
1
+ # Import librairies
2
  from pathlib import Path
3
  from typing import Optional
4
  from uuid import uuid4
5
  import hashlib
6
  import json
 
7
  import gradio as gr
8
+ import gemmi
9
+ from gradio_molecule3d import Molecule3D
10
  from modal_app import app, chai1_inference, download_inference_dependencies, here
11
+
12
+ # Definition of the tools for the MCP server
13
+
14
+ # Function to compute Chai1 inference
15
  def compute_Chai1(
16
  force_redownload: bool = False,
17
  fasta_file: Optional[str] = None,
main.py DELETED
@@ -1,6 +0,0 @@
1
- def main():
2
- print("Hello from mcp-chai1-modal!")
3
-
4
-
5
- if __name__ == "__main__":
6
- main()
 
 
 
 
 
 
 
requirements.txt CHANGED
@@ -1,2 +1,4 @@
1
  gradio==5.33.0
2
  modal==1.0.2
 
 
 
1
  gradio==5.33.0
2
  modal==1.0.2
3
+ gemmi==0.7.1
4
+ gradio_molecule3d==0.0.7