MarMont commited on
Commit
21bf910
·
1 Parent(s): ab99249

add top_tweets

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -555,10 +555,11 @@ def main(dataset, model, progress=gr.Progress(track_tqdm=True)):
555
  headlines = topic_summarization(top_tweets)
556
  headlines = '\n'.join(str(h) for h in headlines)
557
  # print(headlines)
 
558
 
559
 
560
 
561
- return place_data, headlines
562
 
563
 
564
  iface = gr.Interface(fn=main,
 
555
  headlines = topic_summarization(top_tweets)
556
  headlines = '\n'.join(str(h) for h in headlines)
557
  # print(headlines)
558
+ top_tweets = '\n'.join (str(tweet) for tweet in top_tweets)
559
 
560
 
561
 
562
+ return place_data, headlines, top_tweets
563
 
564
 
565
  iface = gr.Interface(fn=main,