Spaces:
Sleeping
Sleeping
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
from cmpe212projectX import example
|
3 |
+
|
4 |
+
iface = gr.Interface(
|
5 |
+
fn=example.course,
|
6 |
+
inputs=["text",gr.Slider(0, 100),gr.Slider(0, 100),gr.Slider(0, 100)],
|
7 |
+
outputs=["text", "text","text"])
|
8 |
+
iface.launch()
|