Spaces:
Running
Running
Jeff Myers II
commited on
Commit
·
a5c3031
1
Parent(s):
2a3b6f4
Completed Prototype
Browse files
Gemma.py
CHANGED
@@ -53,6 +53,7 @@ class GemmaLLM:
|
|
53 |
|
54 |
def get_summary(self, article, num_paragraphs) -> str:
|
55 |
message = self._get_summary_message(article, num_paragraphs)
|
|
|
56 |
try:
|
57 |
summary = self.generate(message)
|
58 |
except Exception as e:
|
|
|
53 |
|
54 |
def get_summary(self, article, num_paragraphs) -> str:
|
55 |
message = self._get_summary_message(article, num_paragraphs)
|
56 |
+
summary = ""
|
57 |
try:
|
58 |
summary = self.generate(message)
|
59 |
except Exception as e:
|