We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Logs from heroku 2019-02-25T15:25:24.618217+00:00 app[web.1]: 2019-02-25 15:25:24 - ArgumentError - wrong number of arguments (given 0, expected 1): 2019-02-25T15:25:24.618247+00:00 app[web.1]: /app/vendor/bundle/ruby/2.5.0/gems/clarification-0.3.0/lib/clarification/client.rb:14:in predict' 2019-02-25T15:25:24.618250+00:00 app[web.1]: /app/app.rb:38:in block in <top (required)>'
predict' 2019-02-25T15:25:24.618250+00:00 app[web.1]: /app/app.rb:38:in
Using this code
Clarification.configure do |config| config.api_key = ENV['CLARIFAI_SECRET'] config.default_public_models = [:general] end clar_client = Clarification::Client.new clar_response = clar_client.predict.by_url("https://i.imgur.com/7lHfzvl.jpg")
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Logs from heroku
2019-02-25T15:25:24.618217+00:00 app[web.1]: 2019-02-25 15:25:24 - ArgumentError - wrong number of arguments (given 0, expected 1):
2019-02-25T15:25:24.618247+00:00 app[web.1]: /app/vendor/bundle/ruby/2.5.0/gems/clarification-0.3.0/lib/clarification/client.rb:14:in
predict' 2019-02-25T15:25:24.618250+00:00 app[web.1]: /app/app.rb:38:in
block in <top (required)>'Using this code
The text was updated successfully, but these errors were encountered: