Update
This commit is contained in:
parent
ac6bc22edc
commit
dda84c5ed8
4
main.py
4
main.py
@ -15,7 +15,7 @@ class ComputeInput(BaseModel):
|
||||
|
||||
def run_compute(a,b,sigma):
|
||||
result = subprocess.run(
|
||||
['./computeC', str(a), str(b), sigma],
|
||||
['./computeC', a, b, sigma],
|
||||
capture_output=True,
|
||||
text=True
|
||||
)
|
||||
@ -25,7 +25,7 @@ def run_compute(a,b,sigma):
|
||||
async def compute(data: ComputeInput):
|
||||
a_start = int(data.a)
|
||||
b_end = int(data.b)
|
||||
sigma = data.sigma
|
||||
sigma = int(data.sigma)
|
||||
|
||||
num_chunks = 16
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user