adinarayana commited on
Commit
e24ae62
·
verified ·
1 Parent(s): eb9dd95

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ def preprocess_text(element):
20
  # text = text.lower()
21
  return text
22
  else:
23
- return "
24
 
25
  def get_openai_response(text, length=100, model="gpt-3.5-turbo-instruct"):
26
  summarizer = pipeline("summarization", model=model)
 
20
  # text = text.lower()
21
  return text
22
  else:
23
+ return ""
24
 
25
  def get_openai_response(text, length=100, model="gpt-3.5-turbo-instruct"):
26
  summarizer = pipeline("summarization", model=model)