kz209 commited on
Commit
d90d6fa
1 Parent(s): 44d180e
pages/summarization_example.py CHANGED
@@ -1,5 +1,5 @@
1
  from dotenv import load_dotenv
2
- from transformers import pipeline
3
  import gradio as gr
4
 
5
  from utils.model import Model
 
1
  from dotenv import load_dotenv
2
+ # from transformers import pipeline
3
  import gradio as gr
4
 
5
  from utils.model import Model
requirements.txt CHANGED
@@ -1,6 +1,7 @@
1
  openai==1.35.3
2
  python-dotenv==0.19.1
3
  transformers==4.42.3
 
4
  gradio
5
  torch
6
  torchvision
 
1
  openai==1.35.3
2
  python-dotenv==0.19.1
3
  transformers==4.42.3
4
+ accelerate
5
  gradio
6
  torch
7
  torchvision