jorgefio commited on
Commit
35cac5d
1 Parent(s): 2d139eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -12,5 +12,5 @@ input = gr.inputs.Textbox(label="Customer Sentence")
12
  output = gr.outputs.Label(num_top_classes=4, label="Zero-Shot-Classification")
13
  title = "Case Classification"
14
  description = "Zero-Shot-Classification test"
15
- gr.Interface(predict, input, output, live=True, title=title, analytics_enabled=False,
16
- description=description).launch()
 
12
  output = gr.outputs.Label(num_top_classes=4, label="Zero-Shot-Classification")
13
  title = "Case Classification"
14
  description = "Zero-Shot-Classification test"
15
+ gr.Interface(predict, input, output, live=False, live_update=False, title=title, analytics_enabled=False,
16
+ description=description, capture_session=True).launch()