File size: 573 Bytes
2b90013
 
b58cc83
61f495c
 
 
 
ff2f9a4
 
1
2
3
4
5
6
7
8
9
# 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()