Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,5 @@
|
|
|
|
|
|
1 |
def sentiment_analysis(sentence, template, model_name, positive, neutral, negative):
|
2 |
model_name = model_name
|
3 |
template = template.replace('[SENTENCE]', '{"placeholder":"text_a"}')
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
def sentiment_analysis(sentence, template, model_name, positive, neutral, negative):
|
4 |
model_name = model_name
|
5 |
template = template.replace('[SENTENCE]', '{"placeholder":"text_a"}')
|