Spaces:
Runtime error
Runtime error
Commit
•
1cd2b36
1
Parent(s):
3bbcdac
Update app.py
Browse files
app.py
CHANGED
@@ -3,3 +3,16 @@ from scipy.signal import savgol_filter
|
|
3 |
import joblib
|
4 |
import plotly.express as px
|
5 |
import gradio as gr
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
import joblib
|
4 |
import plotly.express as px
|
5 |
import gradio as gr
|
6 |
+
titik1=gr.Number(label='Node 1')
|
7 |
+
titik2=gr.Number(label='Node 2')
|
8 |
+
titik3=gr.Number(label='Node 3')
|
9 |
+
titik4=gr.Number(label='Node 4')
|
10 |
+
titik5=gr.Number(label='Node 5')
|
11 |
+
titik6=gr.Number(label='Node 6')
|
12 |
+
titik7=gr.Number(label='Node 7')
|
13 |
+
titik8=gr.Number(label='Node 8')
|
14 |
+
titik9=gr.Number(label='Node 9')
|
15 |
+
titik10=gr.Number(label='Node 10')
|
16 |
+
titik11=gr.Number(label='Node 11')
|
17 |
+
plot=gr.Plot()
|
18 |
+
gr.Interface(fn,inputs=[titik1,titik2,titik3,titik4,titik5,titik6,titik7,titik8,titik9,titik10,titik11],output=[plot],title='Savitsky-Golay Prediction')
|