waqasali1707 commited on
Commit
7677ed6
·
verified ·
1 Parent(s): 654bf5a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import torch
3
  from transformers import AutoTokenizer, AutoModelForSeq2SeqLM, GenerationConfig
4
 
5
  # Define the URL of your model on Hugging Face Spaces
6
- model_url = 'https://huggingface.co/your-username/your-model-name/resolve/main/'
7
 
8
  # Load the model and tokenizer directly from the URL
9
  try:
 
3
  from transformers import AutoTokenizer, AutoModelForSeq2SeqLM, GenerationConfig
4
 
5
  # Define the URL of your model on Hugging Face Spaces
6
+ model_url = 'https://huggingface.co/spaces/waqasali1707/Bart-Base-Summarization/blob/main/bart-base.zip'
7
 
8
  # Load the model and tokenizer directly from the URL
9
  try: