Update app.py
Browse files
app.py
CHANGED
@@ -1,10 +1,12 @@
|
|
1 |
-
# Importing libraries
|
2 |
import subprocess
|
3 |
import sys
|
4 |
|
5 |
# Upgrade pip, setuptools, and wheel
|
6 |
subprocess.check_call([sys.executable, "-m", "pip", "install", "--upgrade", "pip", "setuptools", "wheel"])
|
7 |
|
|
|
|
|
|
|
8 |
import pandas as pd
|
9 |
import json
|
10 |
import gradio as gr
|
|
|
|
|
1 |
import subprocess
|
2 |
import sys
|
3 |
|
4 |
# Upgrade pip, setuptools, and wheel
|
5 |
subprocess.check_call([sys.executable, "-m", "pip", "install", "--upgrade", "pip", "setuptools", "wheel"])
|
6 |
|
7 |
+
# Install dependencies from requirements.txt
|
8 |
+
subprocess.check_call([sys.executable, "-m", "pip", "install", "-r", "requirements.txt"])
|
9 |
+
|
10 |
import pandas as pd
|
11 |
import json
|
12 |
import gradio as gr
|