Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
jonatanklosko
/
chai
like
4
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
d51dcea
chai
/
lib
/
chai.ex
jonatanklosko
Add chat
0fea377
over 2 years ago
raw
Copy download link
history
blame
Safe
203 Bytes
defmodule
Chai
do
@doc
"""
Returns path to uploaded file with the given filename.
"""
def
upload_path
(filename)
do
Path
.join([
:code
.priv_dir(
:chai
),
"static"
,
"uploads"
, filename])
end
end