PhaseDOutAI commited on
Commit
d2fe4bc
·
verified ·
1 Parent(s): 3c01256

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -12
app.py CHANGED
@@ -1,15 +1,3 @@
1
- import os
2
- import sys
3
- import subprocess
4
-
5
- # ---------- 0) Auto-install requirements ----------
6
- REQ_FILE = "requirements.txt"
7
- if os.path.exists(REQ_FILE):
8
- try:
9
- print("📦 Installing requirements from requirements.txt ...")
10
- subprocess.check_call([sys.executable, "-m", "pip", "install", "-r", REQ_FILE])
11
- except subprocess.CalledProcessError as e:
12
- print(f"⚠️ Requirements install warning: {e}. Continuing...")
13
 
14
  # ---------- 1) Imports ----------
15
  import gradio as gr
 
 
 
 
 
 
 
 
 
 
 
 
 
1
 
2
  # ---------- 1) Imports ----------
3
  import gradio as gr