xeroISB commited on
Commit
3759ad1
·
verified ·
1 Parent(s): 1d21daa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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="Issue Resolution Predictor", description="Predict the duration bin and sentiment score based on issue description and related features.")
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()