bayes-or-spam / app.py
tbitai's picture
app.py skeleton with constant 0.5 prediction
850dd49 verified
raw
history blame
218 Bytes
import gradio as gr
def predict(input_txt):
return 0.5
demo = gr.Interface(
fn=predict,
inputs=["text"],
outputs=["number"],
title="Bayes or Spam?",
)
if __name__ == "__main__":
demo.launch()