Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ def main():
|
|
| 16 |
# Create a button to trigger model inference
|
| 17 |
if st.button("Analyze"):
|
| 18 |
# Perform inference using the loaded model
|
| 19 |
-
|
| 20 |
#st.write("Prediction:", result[0]['label'], "| Score:", result[0]['score'])
|
| 21 |
#st.write. st.write(generated_sequences[-1])
|
| 22 |
|
|
|
|
| 16 |
# Create a button to trigger model inference
|
| 17 |
if st.button("Analyze"):
|
| 18 |
# Perform inference using the loaded model
|
| 19 |
+
model(input_text)
|
| 20 |
#st.write("Prediction:", result[0]['label'], "| Score:", result[0]['score'])
|
| 21 |
#st.write. st.write(generated_sequences[-1])
|
| 22 |
|