abdulllah01 commited on
Commit
b07da96
·
verified ·
1 Parent(s): a560191

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,6 +1,6 @@
1
  import streamlit as st
2
- from transformers import AutoTokenizer, AutoModelForQuestionAnswering
3
-
4
  # Load the model and tokenizer from your Hugging Face Hub repository
5
  model_checkpoint = "abdulllah01/checkpoints" # Replace with your actual checkpoint
6
  tokenizer = AutoTokenizer.from_pretrained(model_checkpoint)
 
1
  import streamlit as st
2
+ from transformers import AutoTokenizer
3
+ from transformers import AutoModelForSeq2SeqLM
4
  # Load the model and tokenizer from your Hugging Face Hub repository
5
  model_checkpoint = "abdulllah01/checkpoints" # Replace with your actual checkpoint
6
  tokenizer = AutoTokenizer.from_pretrained(model_checkpoint)