hh871 commited on
Commit
dc94328
1 Parent(s): 7444271

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -7
app.py CHANGED
@@ -1,11 +1,6 @@
1
  from fastai.vision.all import *
2
  import gradio as gr
3
  import pathlib
4
- import os
5
- os.system("pip install --upgrade pip")
6
- os.system("pip uninstall -y gradio")
7
- os.system("pip install gradio==3.14.0")
8
- os.system("pip install -U Jinja2")
9
 
10
  plt = platform.system()
11
  if plt == 'Linux':
@@ -23,5 +18,6 @@ gr.Interface(
23
  inputs=gr.Image(shape=(182, 268)),
24
  outputs="text",
25
  title= "Movie Poster Score Predictor",
26
- interpretation='default'
27
- ).launch(inline=False, enable_queue=True, share=True)
 
 
1
  from fastai.vision.all import *
2
  import gradio as gr
3
  import pathlib
 
 
 
 
 
4
 
5
  plt = platform.system()
6
  if plt == 'Linux':
 
18
  inputs=gr.Image(shape=(182, 268)),
19
  outputs="text",
20
  title= "Movie Poster Score Predictor",
21
+ interpretation='default',
22
+ enable_queue=True
23
+ ).launch(inline=False)