ImHadis commited on
Commit
549f2f0
·
verified ·
1 Parent(s): b8f917c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -6,9 +6,6 @@ from transformers import pipeline
6
  import gradio as gr
7
  from transformers import pipeline
8
 
9
- # Access the Hugging Face API key and endpoint URL
10
- hf_api_key = os.getenv('HF_API_KEY')
11
- ENDPOINT_URL = os.getenv('HF_API_SUMMARY_BASE')
12
 
13
  #Summarization endpoint
14
  get_completion = pipeline("summarization", model="shleifer/distilbart-cnn-12-6")
 
6
  import gradio as gr
7
  from transformers import pipeline
8
 
 
 
 
9
 
10
  #Summarization endpoint
11
  get_completion = pipeline("summarization", model="shleifer/distilbart-cnn-12-6")