Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -87,7 +87,7 @@ def classify(text,choice):
|
|
87 |
|
88 |
GUI = gr.Interface(
|
89 |
inputs = [
|
90 |
-
gr.
|
91 |
gr.Radio( choices = [("Naive Bayes",1) , ("Random Forest",2) , ("Support Vector Machine",3) ] , value = 1 , label = "Model") ],
|
92 |
outputs = ['text'],
|
93 |
fn = classify,
|
|
|
87 |
|
88 |
GUI = gr.Interface(
|
89 |
inputs = [
|
90 |
+
gr.Textbox(label = "Input" , placeholder = "Enter News Title here"),
|
91 |
gr.Radio( choices = [("Naive Bayes",1) , ("Random Forest",2) , ("Support Vector Machine",3) ] , value = 1 , label = "Model") ],
|
92 |
outputs = ['text'],
|
93 |
fn = classify,
|