Spaces:
Runtime error
Runtime error
entry
Browse files
app.py
CHANGED
@@ -251,8 +251,8 @@ def main():
|
|
251 |
conditioning = {"symbolic_conditioning": cond_tokens, "numerical_conditioning": torch.tensor(numberical_conditioning).float()}
|
252 |
#conditioning = {"symbolic_conditioning": torch.tensor([1,2],device="cuda").long(), "numerical_conditioning": torch.tensor([],device="cuda").float()}
|
253 |
|
254 |
-
|
255 |
-
fit = st.button("
|
256 |
if fit:
|
257 |
st.write("Results are being computed, will be displayed in a few seconds...")
|
258 |
if is_cuda:
|
@@ -262,7 +262,7 @@ def main():
|
|
262 |
|
263 |
new_outputs = fitfunc(X, y,conditioning, cond_str_tokens, is_batch=False)
|
264 |
|
265 |
-
|
266 |
st.markdown("#### NSRwH")
|
267 |
|
268 |
best_prediction = new_outputs["best_pred"]
|
|
|
251 |
conditioning = {"symbolic_conditioning": cond_tokens, "numerical_conditioning": torch.tensor(numberical_conditioning).float()}
|
252 |
#conditioning = {"symbolic_conditioning": torch.tensor([1,2],device="cuda").long(), "numerical_conditioning": torch.tensor([],device="cuda").float()}
|
253 |
|
254 |
+
st.markdown("### Results")
|
255 |
+
fit = st.button("Click here to run the models and get the results")
|
256 |
if fit:
|
257 |
st.write("Results are being computed, will be displayed in a few seconds...")
|
258 |
if is_cuda:
|
|
|
262 |
|
263 |
new_outputs = fitfunc(X, y,conditioning, cond_str_tokens, is_batch=False)
|
264 |
|
265 |
+
|
266 |
st.markdown("#### NSRwH")
|
267 |
|
268 |
best_prediction = new_outputs["best_pred"]
|