Sabse commited on
Commit
dad27ef
·
1 Parent(s): 1592902

Add application file

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -1,10 +1,11 @@
1
  import os
 
2
  import gradio as gr
3
  from fastai.learner import load_learner
4
  from fastai.vision.all import *
5
 
6
- # Install fastai
7
- subprocess.run(["pip", "install", "fastai"])
8
 
9
  # Construct the absolute path to the large data file
10
  # Get the absolute path to the current script's directory
 
1
  import os
2
+ import subprocess
3
  import gradio as gr
4
  from fastai.learner import load_learner
5
  from fastai.vision.all import *
6
 
7
+ # Install necessary packages
8
+ subprocess.run(["pip", "install", "fastai", "gradio"])
9
 
10
  # Construct the absolute path to the large data file
11
  # Get the absolute path to the current script's directory