placeholder function for hf gpu
Browse files
app.py
CHANGED
|
@@ -13,6 +13,7 @@ from dataloader import convert_uploaded_documents
|
|
| 13 |
from graph import ATS_NODE, build_graph
|
| 14 |
from observability import build_run_config, flush
|
| 15 |
from skills import ACTIONS
|
|
|
|
| 16 |
|
| 17 |
logging.basicConfig(level=logging.INFO, format="%(levelname)s %(name)s: %(message)s")
|
| 18 |
logger = logging.getLogger("job-chat")
|
|
@@ -24,6 +25,10 @@ except ConfigError as exc:
|
|
| 24 |
|
| 25 |
SESSION_DATA = {}
|
| 26 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
|
| 28 |
def new_thread_id():
|
| 29 |
return str(uuid.uuid4())
|
|
|
|
| 13 |
from graph import ATS_NODE, build_graph
|
| 14 |
from observability import build_run_config, flush
|
| 15 |
from skills import ACTIONS
|
| 16 |
+
import spaces
|
| 17 |
|
| 18 |
logging.basicConfig(level=logging.INFO, format="%(levelname)s %(name)s: %(message)s")
|
| 19 |
logger = logging.getLogger("job-chat")
|
|
|
|
| 25 |
|
| 26 |
SESSION_DATA = {}
|
| 27 |
|
| 28 |
+
@spaces.GPU
|
| 29 |
+
def temp():
|
| 30 |
+
pass
|
| 31 |
+
|
| 32 |
|
| 33 |
def new_thread_id():
|
| 34 |
return str(uuid.uuid4())
|