Fluospark128 commited on
Commit
6c2882b
·
verified ·
1 Parent(s): 691ba89

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1,4 +1,4 @@
1
- pip install PyPDF2
2
 
3
 
4
  import streamlit as st
@@ -6,8 +6,8 @@ from transformers import AutoTokenizer, AutoModelForSequenceClassification
6
  import torch
7
 
8
  # Load the model and tokenizer
9
- tokenizer = AutoTokenizer.from_pretrained("your_huggingface_model_path")
10
- model = AutoModelForSequenceClassification.from_pretrained("your_huggingface_model_path")
11
 
12
  # Define genre labels
13
  genre_labels = ["mystery", "sci-fi", "fantasy", "romance", "thriller", "horror", "drama", "comedy",
 
1
+ #pip install PyPDF2
2
 
3
 
4
  import streamlit as st
 
6
  import torch
7
 
8
  # Load the model and tokenizer
9
+ #tokenizer = AutoTokenizer.from_pretrained("your_huggingface_model_path")
10
+ #model = AutoModelForSequenceClassification.from_pretrained("your_huggingface_model_path")
11
 
12
  # Define genre labels
13
  genre_labels = ["mystery", "sci-fi", "fantasy", "romance", "thriller", "horror", "drama", "comedy",