Spaces:
Runtime error
Runtime error
import gradio as gr | |
from ps4_models.classifiers import * | |
def pred(seq): | |
model = PS4_Mega() | |
return "Hello " + seq + "!!" | |
iface = gr.Interface(fn=pred, inputs="text", outputs="text") | |
iface.launch() | |