Spaces:
Sleeping
Sleeping
Sam-Oliveira commited on
Commit ·
4bb959f
1
Parent(s): a3643f7
change triton cache
Browse files- src/streamlit_app.py +1 -1
src/streamlit_app.py
CHANGED
|
@@ -6,6 +6,7 @@ Streamlit app for the research assistant.
|
|
| 6 |
- Ideate: generate project ideas
|
| 7 |
|
| 8 |
"""
|
|
|
|
| 9 |
os.environ["XDG_CACHE_HOME"] = str(pathlib.Path(tempfile.gettempdir()) / "hf_cache")
|
| 10 |
|
| 11 |
import streamlit as st
|
|
@@ -20,7 +21,6 @@ from db import get_conn
|
|
| 20 |
import os
|
| 21 |
import subprocess
|
| 22 |
from summarise import summarise_by_tag
|
| 23 |
-
import pathlib, tempfile
|
| 24 |
|
| 25 |
#def install(package):
|
| 26 |
# subprocess.check_call([os.sys.executable, "-m", "pip", "install", package])
|
|
|
|
| 6 |
- Ideate: generate project ideas
|
| 7 |
|
| 8 |
"""
|
| 9 |
+
import pathlib, tempfile
|
| 10 |
os.environ["XDG_CACHE_HOME"] = str(pathlib.Path(tempfile.gettempdir()) / "hf_cache")
|
| 11 |
|
| 12 |
import streamlit as st
|
|
|
|
| 21 |
import os
|
| 22 |
import subprocess
|
| 23 |
from summarise import summarise_by_tag
|
|
|
|
| 24 |
|
| 25 |
#def install(package):
|
| 26 |
# subprocess.check_call([os.sys.executable, "-m", "pip", "install", package])
|