Spaces:
Sleeping
Sleeping
alexpantex
commited on
Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import threading
|
2 |
import streamlit as st
|
3 |
from scripts.api import start_api_server
|
4 |
-
|
5 |
# Start the API server in a separate thread
|
6 |
api_thread = threading.Thread(target=start_api_server)
|
7 |
api_thread.start()
|
|
|
1 |
import threading
|
2 |
import streamlit as st
|
3 |
from scripts.api import start_api_server
|
4 |
+
import os
|
5 |
# Start the API server in a separate thread
|
6 |
api_thread = threading.Thread(target=start_api_server)
|
7 |
api_thread.start()
|