Spaces:
Sleeping
Sleeping
MilesCranmer
commited on
Turn multithreading back on
Browse files- Dockerfile +0 -1
- app.py +0 -4
Dockerfile
CHANGED
@@ -55,5 +55,4 @@ ENV GRADIO_ALLOW_FLAGGING=never \
|
|
55 |
GRADIO_THEME=huggingface \
|
56 |
SYSTEM=spaces
|
57 |
|
58 |
-
ENV JULIA_NUM_THREADS=1
|
59 |
CMD ["/bin/bash", "-l", "-c", "/home/user/.venv/bin/python /home/user/app/app.py"]
|
|
|
55 |
GRADIO_THEME=huggingface \
|
56 |
SYSTEM=spaces
|
57 |
|
|
|
58 |
CMD ["/bin/bash", "-l", "-c", "/home/user/.venv/bin/python /home/user/app/app.py"]
|
app.py
CHANGED
@@ -156,10 +156,6 @@ def greet(
|
|
156 |
binary_operators=binary_operators,
|
157 |
unary_operators=unary_operators,
|
158 |
timeout_in_seconds=1000,
|
159 |
-
multithreading=False,
|
160 |
-
procs=0,
|
161 |
-
deterministic=True,
|
162 |
-
random_state=seed,
|
163 |
equation_file=equation_file,
|
164 |
)
|
165 |
model.fit(X, y)
|
|
|
156 |
binary_operators=binary_operators,
|
157 |
unary_operators=unary_operators,
|
158 |
timeout_in_seconds=1000,
|
|
|
|
|
|
|
|
|
159 |
equation_file=equation_file,
|
160 |
)
|
161 |
model.fit(X, y)
|