Skip to content

Commit

Permalink
production server
Browse files Browse the repository at this point in the history
  • Loading branch information
33tm committed Jul 28, 2024
1 parent 0e88a5e commit 8ec6228
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from csv import reader
from waitress import serve
from torch import torch, nn
from jamo import h2j, j2hcj, j2h
from flask import Flask, request
Expand Down Expand Up @@ -62,4 +63,4 @@ def evaluate():
return " ".join(output)

if __name__ == "__main__":
app.run()
serve(app, host="0.0.0.0", port=8080)

0 comments on commit 8ec6228

Please sign in to comment.