Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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://
|
| 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://
|
| 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:
|