Spaces:
Runtime error
Runtime error
| # Simple app | |
| # Fernando | |
| import gradio as gr | |
| description = "Detect environmental claims using as base model climatebert/distilroberta-base-climate-f" | |
| examples = [["The solar cells are the most advanced piece of equipment."], | |
| ["Our plants are solar powered and the carbon footprint has been reduced by 50%."], | |
| ["In 2021, WEG ensured that 10% of energy consumption came from renewable sources by purchasing renewable energy certificates"]] | |
| app=gr.Interface.load("models/fspacheco/climate-claim", description=description, examples=examples) | |
| app.launch() |