Spaces:
Sleeping
Sleeping
Sam-Oliveira commited on
Commit ·
7d73f05
1
Parent(s): 4bb959f
change triton cache
Browse files- src/streamlit_app.py +1 -2
src/streamlit_app.py
CHANGED
|
@@ -7,6 +7,7 @@ Streamlit app for the research assistant.
|
|
| 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
|
|
@@ -18,8 +19,6 @@ from digest import build_html
|
|
| 18 |
from ideate import ideate_from_topic, ideate_from_ids
|
| 19 |
from helpers import render_rows, rows_by_tag
|
| 20 |
from db import get_conn
|
| 21 |
-
import os
|
| 22 |
-
import subprocess
|
| 23 |
from summarise import summarise_by_tag
|
| 24 |
|
| 25 |
#def install(package):
|
|
|
|
| 7 |
|
| 8 |
"""
|
| 9 |
import pathlib, tempfile
|
| 10 |
+
import os
|
| 11 |
os.environ["XDG_CACHE_HOME"] = str(pathlib.Path(tempfile.gettempdir()) / "hf_cache")
|
| 12 |
|
| 13 |
import streamlit as st
|
|
|
|
| 19 |
from ideate import ideate_from_topic, ideate_from_ids
|
| 20 |
from helpers import render_rows, rows_by_tag
|
| 21 |
from db import get_conn
|
|
|
|
|
|
|
| 22 |
from summarise import summarise_by_tag
|
| 23 |
|
| 24 |
#def install(package):
|