Update app.py
Browse files
app.py
CHANGED
@@ -25,9 +25,9 @@ def predict_severity(text):
|
|
25 |
# Define the Gradio interface with a title, specific placeholder message, and a progress bar for confidence
|
26 |
iface = gr.Interface(
|
27 |
fn=predict_severity,
|
28 |
-
inputs=gr.Textbox(lines=2, placeholder="Please Enter Bug Report Summary"),
|
29 |
outputs=[
|
30 |
-
gr.Textbox(label="Prediction"
|
31 |
gr.Number(label="Confidence", precision=2)
|
32 |
],
|
33 |
title="GPT-2 Based Severity Prediction",
|
|
|
25 |
# Define the Gradio interface with a title, specific placeholder message, and a progress bar for confidence
|
26 |
iface = gr.Interface(
|
27 |
fn=predict_severity,
|
28 |
+
inputs=gr.Textbox(lines=2, label="summary", placeholder="Please Enter Bug Report Summary"),
|
29 |
outputs=[
|
30 |
+
gr.Textbox(label="Prediction"),
|
31 |
gr.Number(label="Confidence", precision=2)
|
32 |
],
|
33 |
title="GPT-2 Based Severity Prediction",
|