akki119 commited on
Commit
9665cca
1 Parent(s): cba7d99

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ import gradio as gr
7
  # Use a pipeline as a high-level helper
8
  from transformers import pipeline
9
 
10
- pipe = pipeline("summarization",
11
  model="sshleifer/distilbart-cnn-12-6",
12
  torch_dtype=torch.bfloat16)
13
 
 
7
  # Use a pipeline as a high-level helper
8
  from transformers import pipeline
9
 
10
+ text_summary = pipeline("summarization",
11
  model="sshleifer/distilbart-cnn-12-6",
12
  torch_dtype=torch.bfloat16)
13