fintech / app.py
vishwaved's picture
Update app.py
e07eaa5 verified
Raw
History Blame Contribute Delete
245 Bytes
import gradio as gr
import pandas as pd
from sklearn.ensemble import RandomForestClassifier
def predict(x):
return f"Prediction: {x}"
iface = gr.Interface(
fn=predict,
inputs="number",
outputs="text"
)
iface.launch(share=True)