Spaces:
Running
Running
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() |