From 52a3d062409337ecc019991b00d0495f90f8261e Mon Sep 17 00:00:00 2001 From: gebele Date: Fri, 10 Jun 2016 06:35:19 +0000 Subject: added version and share buttons --- application.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'application.rb') diff --git a/application.rb b/application.rb index 225776d..1f7fa00 100644 --- a/application.rb +++ b/application.rb @@ -13,6 +13,7 @@ get '/?' do end get '/predict/?' do + @version = File.read("VERSION").chomp data = JSON.parse(File.read("./data.json")) query_features = JSON.parse(File.read("./query-features.json")) @example = data[data.keys.sample]["physchem"].select{|f,v| query_features.include? f} -- cgit v1.2.3