Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,19 +6,12 @@ examples_ = [
|
|
6 |
"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"],
|
7 |
]
|
8 |
|
9 |
-
interface_description = "Explore ESG-related
|
10 |
|
11 |
|
12 |
-
demo = gr.load("dammy/esgTweetBERT", src="models", examples= examples_)
|
13 |
|
14 |
-
|
15 |
-
iface = gr.Interface(demo, description=interface_description)
|
16 |
-
|
17 |
-
|
18 |
-
iface.launch()
|
19 |
-
|
20 |
-
|
21 |
-
# demo.launch()
|
22 |
|
23 |
|
24 |
|
|
|
6 |
"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"],
|
7 |
]
|
8 |
|
9 |
+
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!"
|
10 |
|
11 |
|
12 |
+
demo = gr.load("dammy/esgTweetBERT", src="models", examples= examples_, title = 'ESG text classifier', description = interface_description)
|
13 |
|
14 |
+
demo.launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
|
16 |
|
17 |
|