Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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=
|
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()
|