Spaces:
Runtime error
Runtime error
File size: 1,112 Bytes
6296560 18eb562 ff1faed d3553e1 07dd6fa 2a69d92 b899551 3f6d029 2a69d92 b899551 adab06b b899551 18eb562 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
import gradio as gr
examples_ = [
["Taking a stand against modern slavery. Ethical practices, slavery-free supply chains. Join us in championing justice. #EndModernSlavery #EthicalBusiness"],
["Climate change is a grave concern for humanity. It demands urgent attention and collective action. Let's come together to address this global challenge and work towards a sustainable future for all. 🌍🤝 #ClimateChange #Sustainability"],
["Deeply troubled by recent revelations about the CEO. Allegations of misconduct raise serious concerns about leadership ethics. As consumers, we must hold leaders accountable for their actions. Transparency and accountability are non-negotiable. #CorporateEthics #Accountability"]
]
interface_description = "Explore ESG-related classification using the ESG BERT model. Simply enter a question or input, and observe the model's responses. Feel free to use the provided examples for inspiration!"
demo = gr.load("dammy/esgTweetBERT", src="models", examples= examples_, title = 'ESG text classifier', description = interface_description)
demo.launch()
|