File size: 223 Bytes
b785c8e
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
import gradio as gr
from cmpe212projectX import example

iface = gr.Interface(
  fn=example.course,
  inputs=["text",gr.Slider(0, 100),gr.Slider(0, 100),gr.Slider(0, 100)],
  outputs=["text", "text","text"])
iface.launch()