awacke1 commited on
Commit
5881665
·
1 Parent(s): ff37052

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -142,7 +142,7 @@ def fn( text1, text2, num, slider1, slider2, single_checkbox,
142
  (".", 0),
143
  ] + [(f"test", x / 10) for x in range(-10, 10)], # HighlightedText
144
  #json.loads(JSONOBJ), # JSON
145
- start_with_searchTermLOINC['train'].to_json(path_or_buf=None),
146
  "<button style='background-color: red'>Click Me: " + radio + "</button>", # HTML
147
  os.path.join(os.path.dirname(__file__), "files/titanic.csv"),
148
  df1, # Dataframe
 
142
  (".", 0),
143
  ] + [(f"test", x / 10) for x in range(-10, 10)], # HighlightedText
144
  #json.loads(JSONOBJ), # JSON
145
+ start_with_searchTermLOINC['train'].to_json(orient="records", file_or_buf="buff"),
146
  "<button style='background-color: red'>Click Me: " + radio + "</button>", # HTML
147
  os.path.join(os.path.dirname(__file__), "files/titanic.csv"),
148
  df1, # Dataframe