Metal079 commited on
Commit
bb67038
·
1 Parent(s): aeabc6f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import gradio as gr
2
  from transformers import pipeline
3
 
4
- pipe_aesthetic = pipeline("image-classification", "cafeai/cafe_aesthetic")
5
  def aesthetic(input_img):
6
  data = pipe_aesthetic(input_img, top_k=2)
7
  final = {}
 
1
  import gradio as gr
2
  from transformers import pipeline
3
 
4
+ pipe_aesthetic = pipeline("image-classification", "./sonic")
5
  def aesthetic(input_img):
6
  data = pipe_aesthetic(input_img, top_k=2)
7
  final = {}