Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ pipe2 = pipeline("text-classification", model="jonas/roberta-base-finetuned-sdg"
|
|
6 |
|
7 |
st.title("ESG with HuggingFace Spaces")
|
8 |
st.write("Enter a sentence to analyze its ESG")
|
9 |
-
|
10 |
|
11 |
# 使用第一个模型进行预测
|
12 |
result1 = pipe1(input_text)
|
|
|
6 |
|
7 |
st.title("ESG with HuggingFace Spaces")
|
8 |
st.write("Enter a sentence to analyze its ESG")
|
9 |
+
input_text =st.text_input("")
|
10 |
|
11 |
# 使用第一个模型进行预测
|
12 |
result1 = pipe1(input_text)
|