Chris4K commited on
Commit
6343fb1
·
verified ·
1 Parent(s): 3dc8018

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -106,7 +106,7 @@ class EventScraper:
106
  # Use Inference Client
107
  return self.client.text_generation(
108
  prompt,
109
- max_new_tokens=3000,
110
  temperature=0.9
111
  )
112
 
@@ -163,7 +163,8 @@ class EventScraper:
163
  ]
164
 
165
  If NO events are found, return an empty list [].
166
- Only return the json. nothing else. no comments."""
 
167
  return prompt
168
 
169
  def parse_llm_response(self, response):
 
106
  # Use Inference Client
107
  return self.client.text_generation(
108
  prompt,
109
+ max_new_tokens=2000,
110
  temperature=0.9
111
  )
112
 
 
163
  ]
164
 
165
  If NO events are found, return an empty list [].
166
+ Only return the json. nothing else. no comments.
167
+ Return nothing but json []"""
168
  return prompt
169
 
170
  def parse_llm_response(self, response):