Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,16 +1,9 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
def greet(year,co2_emission,No2_emission,so2_emission,Global_Warming,Methane_emission):
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
#split the dataset
|
11 |
-
from sklearn.model_selection import train_test_split
|
12 |
-
X_train, X_test, y_train, y_test = train_test_split(
|
13 |
-
x, y, test_size=0.33, random_state=42)
|
14 |
|
15 |
|
16 |
#traing the dataset
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
def greet(year,co2_emission,No2_emission,so2_emission,Global_Warming,Methane_emission):
|
4 |
+
from sklearn.model_selection import train_test_split
|
5 |
+
X_train, X_test, y_train, y_test = train_test_split(
|
6 |
+
x, y, test_size=0.33, random_state=42)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
|
8 |
|
9 |
#traing the dataset
|