anshu-man853 commited on
Commit
a8569f1
Β·
1 Parent(s): 2e7a962

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -3,6 +3,7 @@ from transformers import AutoTokenizer, AutoModelForCausalLM
3
  import gradio as gr
4
  from transformers import pipeline
5
  import youtube_dl
 
6
 
7
  # Load the 'falcon-7b-instruct' model for summarization
8
  model = "tiiuae/falcon-7b"
 
3
  import gradio as gr
4
  from transformers import pipeline
5
  import youtube_dl
6
+ import torch
7
 
8
  # Load the 'falcon-7b-instruct' model for summarization
9
  model = "tiiuae/falcon-7b"