NealCaren commited on
Commit
c9aecbe
·
verified ·
1 Parent(s): 198d54c

Removed threads

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -25,7 +25,6 @@ class GenerateTweets(BaseModel):
25
  summary_tweets: List[SummaryTweet] = Field(default=[], description="A list of SummaryTweet instances.")
26
  insight_tweets: List[InsightTweet] = Field(default=[], description="A list of InsightTweet instances.")
27
  announce_tweets: List[AnnounceTweet] = Field(default=[], description="A list of AnnounceTweet instances.")
28
- thread_tweets: List[ThreadTweet] = Field(default=[], description="A list of ThreadTweet instances.")
29
 
30
  def get_api_key(input_password):
31
  # Retrieve the password and API key from environment variables
@@ -62,7 +61,7 @@ NEVER USE HASHTAGS.
62
  },
63
  {
64
  "role": "user",
65
- "content": f"""Generate five tweets of each style plus a tweet thread about this sociology article:
66
 
67
 
68
  {abstract_input}
 
25
  summary_tweets: List[SummaryTweet] = Field(default=[], description="A list of SummaryTweet instances.")
26
  insight_tweets: List[InsightTweet] = Field(default=[], description="A list of InsightTweet instances.")
27
  announce_tweets: List[AnnounceTweet] = Field(default=[], description="A list of AnnounceTweet instances.")
 
28
 
29
  def get_api_key(input_password):
30
  # Retrieve the password and API key from environment variables
 
61
  },
62
  {
63
  "role": "user",
64
+ "content": f"""Generate five different tweets of each style about this sociology article:
65
 
66
 
67
  {abstract_input}