Spaces:
Sleeping
Sleeping
Add application file
Browse files- app.py +2 -0
- requirements.txt +2 -1
app.py
CHANGED
|
@@ -52,3 +52,5 @@ def predict():
|
|
| 52 |
except Exception as e:
|
| 53 |
print(f"An error occurred: {str(e)}")
|
| 54 |
return json.dumps({"Uh oh": "We are down"})
|
|
|
|
|
|
|
|
|
| 52 |
except Exception as e:
|
| 53 |
print(f"An error occurred: {str(e)}")
|
| 54 |
return json.dumps({"Uh oh": "We are down"})
|
| 55 |
+
|
| 56 |
+
|
requirements.txt
CHANGED
|
@@ -53,4 +53,5 @@ urllib3==2.1.0
|
|
| 53 |
Werkzeug==3.0.1
|
| 54 |
wsproto==1.2.0
|
| 55 |
zipp==3.17.0
|
| 56 |
-
gunicorn
|
|
|
|
|
|
| 53 |
Werkzeug==3.0.1
|
| 54 |
wsproto==1.2.0
|
| 55 |
zipp==3.17.0
|
| 56 |
+
gunicorn
|
| 57 |
+
torch
|