Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -80,11 +80,11 @@ inputs = [
|
|
80 |
]
|
81 |
|
82 |
outputs = [
|
83 |
-
gr.components.Textbox(label="Predicted Duration Bin"),
|
84 |
gr.components.Textbox(label="Sentiment Score")
|
85 |
]
|
86 |
|
87 |
-
interface = gr.Interface(fn=predict, inputs=inputs, outputs=outputs, title="
|
88 |
|
89 |
# Launch the interface
|
90 |
interface.launch()
|
|
|
80 |
]
|
81 |
|
82 |
outputs = [
|
83 |
+
gr.components.Textbox(label="Predicted Duration Bin 0 : 1-2 hours, 1: 3-4 hours, 2: 4-8 hours, 3: More than 8 hours"),
|
84 |
gr.components.Textbox(label="Sentiment Score")
|
85 |
]
|
86 |
|
87 |
+
interface = gr.Interface(fn=predict, inputs=inputs, outputs=outputs, title="Incident Duration Predictor", description="Predict the duration bin and sentiment score based on issue description and related features.")
|
88 |
|
89 |
# Launch the interface
|
90 |
interface.launch()
|