paperstocode / app.py
reibs's picture
test
e199a11
raw
history blame
339 Bytes
import streamlit as st
from transformers import pipeline
from PIL import Image
pipeline = pipeline(task="image-classification", model="julien-c/hotdog-not-hotdog")
st.title("Hot Dog? Or Not?")
file_name = st.file_uploader("Upload the paper you want to see code for")
with open(file_name, "r") as f:
text = f.read()
st.write(text)