User1342 commited on
Commit
452dc60
·
1 Parent(s): 8b61354

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -139,7 +139,7 @@ client_secret = os.getenv('CLIENT_SECRET')
139
 
140
  oauth1_user_handler = tweepy.OAuth2UserHandler(client_id=client_id,
141
  client_secret=client_secret,
142
- redirect_uri="https://huggingface.co/spaces/User1342/WatchTower",
143
  scope=["block.write"]
144
 
145
  )
@@ -155,7 +155,7 @@ chat_history = []
155
  def get_client_from_tokens():
156
  oauth1_user_handler = tweepy.OAuth2UserHandler(client_id=client_id,
157
  client_secret=client_secret,
158
- redirect_uri="https://huggingface.co/spaces/User1342/WatchTower",
159
  scope=["block.write"])
160
 
161
  for connection in block.server.server_state.connections:
 
139
 
140
  oauth1_user_handler = tweepy.OAuth2UserHandler(client_id=client_id,
141
  client_secret=client_secret,
142
+ redirect_uri="https://hf.space/embed/User1342/WatchTower",
143
  scope=["block.write"]
144
 
145
  )
 
155
  def get_client_from_tokens():
156
  oauth1_user_handler = tweepy.OAuth2UserHandler(client_id=client_id,
157
  client_secret=client_secret,
158
+ redirect_uri="https://hf.space/embed/User1342/WatchTower",
159
  scope=["block.write"])
160
 
161
  for connection in block.server.server_state.connections: