Spaces:
No application file
No application file
Update App.py
Browse files
App.py
CHANGED
|
@@ -2,7 +2,7 @@ import torch
|
|
| 2 |
import gradio as gr
|
| 3 |
|
| 4 |
# Use a pipeline as a high-level helper
|
| 5 |
-
from transformers import
|
| 6 |
|
| 7 |
#model_path = ("../Models/models--sshleifer--distilbart-cnn-12-6/snapshots/a4f8f3ea906ed274767e9906dbaede7531d660ff")
|
| 8 |
|
|
|
|
| 2 |
import gradio as gr
|
| 3 |
|
| 4 |
# Use a pipeline as a high-level helper
|
| 5 |
+
from transformers import pipeline
|
| 6 |
|
| 7 |
#model_path = ("../Models/models--sshleifer--distilbart-cnn-12-6/snapshots/a4f8f3ea906ed274767e9906dbaede7531d660ff")
|
| 8 |
|