Spaces:
Runtime error
Runtime error
mametchi
commited on
Commit
·
22fea66
1
Parent(s):
ae21e85
Added permissions for cache
Browse files- Dockerfile +0 -0
- README.md +0 -0
- app.py +2 -0
- requirements.txt +0 -0
- static/dino1.svg +0 -0
- static/dino2.svg +0 -0
- static/puhekupla.svg +0 -0
- static/style.css +0 -0
- templates/index.html +0 -0
Dockerfile
CHANGED
File without changes
|
README.md
CHANGED
File without changes
|
app.py
CHANGED
@@ -1,3 +1,5 @@
|
|
|
|
|
|
1 |
from flask import Flask, render_template, request
|
2 |
import random
|
3 |
from transformers import pipeline
|
|
|
1 |
+
|
2 |
+
import os os.environ['SENTENCE_TRANSFORMERS_HOME'] = 's3-path'
|
3 |
from flask import Flask, render_template, request
|
4 |
import random
|
5 |
from transformers import pipeline
|
requirements.txt
CHANGED
File without changes
|
static/dino1.svg
CHANGED
|
|
static/dino2.svg
CHANGED
|
|
static/puhekupla.svg
CHANGED
|
|
static/style.css
CHANGED
File without changes
|
templates/index.html
CHANGED
File without changes
|