File size: 247 Bytes
8e0bbdf
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
import gradio as gr
from ps4_models.classifiers import *


def pred(seq):
    model = PS4_Mega()
    return "Hello " + seq + "!!"


iface = gr.Interface(fn=pred, inputs="amino acid sequence", outputs="secondary structure sequence")
iface.launch()