Spaces:
Sleeping
Sleeping
Merge branch 'main' of https://huggingface.co/spaces/Redhotchilipoppy/solprognos
Browse files- app.py +1 -3
- requirements.txt +7 -1
app.py
CHANGED
@@ -16,7 +16,7 @@ import matplotlib.pyplot as plt
|
|
16 |
import matplotlib.dates as mdates
|
17 |
|
18 |
# Machine Learning
|
19 |
-
import sklearn
|
20 |
|
21 |
# Print version info
|
22 |
print("Version info:")
|
@@ -159,7 +159,5 @@ def makeprediction():
|
|
159 |
def greet(name):
|
160 |
return "Hello " + name + "!!"
|
161 |
|
162 |
-
|
163 |
-
|
164 |
iface = gr.Interface(fn=makeprediction, inputs=None, outputs=gr.Plot())
|
165 |
iface.launch()
|
|
|
16 |
import matplotlib.dates as mdates
|
17 |
|
18 |
# Machine Learning
|
19 |
+
import scikit-learn as sklearn
|
20 |
|
21 |
# Print version info
|
22 |
print("Version info:")
|
|
|
159 |
def greet(name):
|
160 |
return "Hello " + name + "!!"
|
161 |
|
|
|
|
|
162 |
iface = gr.Interface(fn=makeprediction, inputs=None, outputs=gr.Plot())
|
163 |
iface.launch()
|
requirements.txt
CHANGED
@@ -1,4 +1,10 @@
|
|
1 |
openmeteo-requests
|
2 |
requests-cache
|
3 |
retry-requests
|
4 |
-
quantile-forest
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
openmeteo-requests
|
2 |
requests-cache
|
3 |
retry-requests
|
4 |
+
quantile-forest
|
5 |
+
pandas
|
6 |
+
numpy
|
7 |
+
datetime
|
8 |
+
matplotlib
|
9 |
+
scikit-learn
|
10 |
+
|