Topallaj Denis commited on
Commit
d0ba84e
·
1 Parent(s): 345cd83

remove html file

Browse files
Files changed (1) hide show
  1. main.py +1 -8
main.py CHANGED
@@ -31,7 +31,7 @@ model = T5EncoderModel.from_pretrained(
31
  "Rostlab/prot_t5_xl_half_uniref50-enc")
32
 
33
 
34
- app.mount("/", StaticFiles(directory="static", html=True), name="static")
35
 
36
 
37
  @app.get("/")
@@ -49,13 +49,6 @@ def home():
49
  return result
50
  # return FileResponse(path="/app/static/index.html", media_type="text/html")
51
 
52
- @app.post("/predict")
53
- def predict_UniKP_values(sequence: str, smiles: str) -> Dict[str, float]:
54
-
55
-
56
-
57
- return result
58
-
59
 
60
  class EndpointHandler():
61
  def __init__(self, path=""):
 
31
  "Rostlab/prot_t5_xl_half_uniref50-enc")
32
 
33
 
34
+ #app.mount("/", StaticFiles(directory="static", html=True), name="static")
35
 
36
 
37
  @app.get("/")
 
49
  return result
50
  # return FileResponse(path="/app/static/index.html", media_type="text/html")
51
 
 
 
 
 
 
 
 
52
 
53
  class EndpointHandler():
54
  def __init__(self, path=""):