Spaces:
Build error
Build error
Satyajithchary
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
pip install --upgrade pip
|
2 |
!pip install torch
|
3 |
import streamlit as st
|
|
|
1 |
+
import sys
|
2 |
+
import subprocess
|
3 |
+
|
4 |
+
def install_base_requirements():
|
5 |
+
subprocess.check_call([sys.executable, "-m", "pip", "install", "-r", "requirements_base.txt"])
|
6 |
+
|
7 |
+
install_base_requirements()
|
8 |
+
|
9 |
+
|
10 |
pip install --upgrade pip
|
11 |
!pip install torch
|
12 |
import streamlit as st
|