Spaces:
Runtime error
Runtime error
Commit
·
c5e966e
1
Parent(s):
ba11222
Added torch to requirements
Browse files- main.py +0 -1
- requirements.txt +2 -1
main.py
CHANGED
|
@@ -12,7 +12,6 @@ pipe = pipe.to("cpu")
|
|
| 12 |
|
| 13 |
app = Flask("AI API")
|
| 14 |
|
| 15 |
-
|
| 16 |
@app.get("/")
|
| 17 |
def read_root():
|
| 18 |
return render_template("index.html")
|
|
|
|
| 12 |
|
| 13 |
app = Flask("AI API")
|
| 14 |
|
|
|
|
| 15 |
@app.get("/")
|
| 16 |
def read_root():
|
| 17 |
return render_template("index.html")
|
requirements.txt
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
diffusers
|
| 2 |
transformers
|
| 3 |
matplotlib
|
| 4 |
-
flask
|
|
|
|
|
|
| 1 |
diffusers
|
| 2 |
transformers
|
| 3 |
matplotlib
|
| 4 |
+
flask
|
| 5 |
+
torch
|