Spaces:
Runtime error
Runtime error
Commit
Β·
a8569f1
1
Parent(s):
2e7a962
Update app.py
Browse files
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"
|