renatotn7 commited on
Commit
f33c02f
1 Parent(s): 66f60d8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -1,6 +1,7 @@
1
  import streamlit as st
2
  from transformers import pipeline
3
  pipe = pipeline('sentiment-analysis')
 
4
  text = st.text_area('entre com algum texto')
5
  st.title("Hot Dog? Or Not? ")
6
  file_name = st.file_uploader("Upload a hot dog candidate image")
 
1
  import streamlit as st
2
  from transformers import pipeline
3
  pipe = pipeline('sentiment-analysis')
4
+ pipe2 = pipeline(task="image-bestify", model="beihai/GFPGAN-V1.3-whole-image")
5
  text = st.text_area('entre com algum texto')
6
  st.title("Hot Dog? Or Not? ")
7
  file_name = st.file_uploader("Upload a hot dog candidate image")