File size: 163 Bytes
ccab347
 
 
 
 
 
 
1
2
3
4
5
6
7
8
import gradio as gr
from model import prediction

def predict(text):
    return prediction(text)

gr.Interface(fn=predict, inputs="text", outputs="text").launch()