Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,16 +12,11 @@ from flask import jsonify
|
|
| 12 |
|
| 13 |
import requests
|
| 14 |
|
| 15 |
-
print('Inizio scaricamento files')
|
| 16 |
-
code = requests.get(os.getenv("url")+'/beta_model_clogging.pkl').text
|
| 17 |
-
with open("beta_model_clogging.pkl", "w") as f:
|
| 18 |
-
f.write(code)
|
| 19 |
-
|
| 20 |
code = requests.get(os.getenv("url")+'/algoritm.py').text
|
| 21 |
with open("algoritm.py", "w") as f:
|
| 22 |
f.write(code)
|
| 23 |
import algoritm
|
| 24 |
-
|
| 25 |
|
| 26 |
|
| 27 |
|
|
|
|
| 12 |
|
| 13 |
import requests
|
| 14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
code = requests.get(os.getenv("url")+'/algoritm.py').text
|
| 16 |
with open("algoritm.py", "w") as f:
|
| 17 |
f.write(code)
|
| 18 |
import algoritm
|
| 19 |
+
|
| 20 |
|
| 21 |
|
| 22 |
|