3v324v23 commited on
Commit
35a417d
·
1 Parent(s): 2f9024f
Files changed (1) hide show
  1. app.py +3 -3
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("Run the model")
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
- st.markdown("### Results")
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"]