achraf99 commited on
Commit
3f65fb0
·
verified ·
1 Parent(s): 2c2440a

Update app.py

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