ByteBlaze commited on
Commit
1512feb
1 Parent(s): 00dd567

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,5 +20,5 @@ def classify(text,choice):
20
  else:
21
  return "Not Fake News"
22
 
23
- GUI = gr.Interface(inputs = ['text',gr.radio(choices = [('Naive Bayes',1),'(Random Classifier',2)], label = "Model" )], outputs = ['text'], fn = classify, title = "Fake News Detection System")
24
  GUI.launch(debug = True)
 
20
  else:
21
  return "Not Fake News"
22
 
23
+ GUI = gr.Interface(inputs = ['text',gr.radio(choices = [('Naive Bayes',1),'(Random Classifier',2)], value = 1, label = "Model") ], outputs = ['text'], fn = classify, title = "Fake News Detection System")
24
  GUI.launch(debug = True)