Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -27,10 +27,11 @@ 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",
|
|
|
|
| 34 |
examples=[
|
| 35 |
["Can't open multiple bookmarks at once from the bookmarks sidebar using the context menu"],
|
| 36 |
["Minor enhancements to make-source-package.sh"]
|
|
|
|
| 27 |
fn=predict_severity,
|
| 28 |
inputs=gr.Textbox(lines=2, placeholder="Please Enter Bug Report Summary"),
|
| 29 |
outputs=[
|
| 30 |
+
gr.Textbox(label="Prediction", placeholder="Please Enter Bug Report Summary")),
|
| 31 |
gr.Number(label="Confidence", precision=2)
|
| 32 |
],
|
| 33 |
title="GPT-2 Based Severity Prediction",
|
| 34 |
+
description="Enter text and predict its severity (Severe or Non-severe).",
|
| 35 |
examples=[
|
| 36 |
["Can't open multiple bookmarks at once from the bookmarks sidebar using the context menu"],
|
| 37 |
["Minor enhancements to make-source-package.sh"]
|