Synced repo using 'sync_with_huggingface' Github Action
Browse files
main.py
CHANGED
@@ -193,8 +193,9 @@ def main():
|
|
193 |
while True:
|
194 |
try:
|
195 |
# Dummy request to keep the Hugging Face Space awake
|
196 |
-
|
197 |
-
|
|
|
198 |
logger.info("Replying to mentions...")
|
199 |
reply_to_mentions()
|
200 |
except Exception as e:
|
|
|
193 |
while True:
|
194 |
try:
|
195 |
# Dummy request to keep the Hugging Face Space awake
|
196 |
+
# Not really working as far as I can tell
|
197 |
+
# logger.info("Pinging Hugging Face Space...")
|
198 |
+
# requests.get("https://team6-roast.hf.space/", timeout=5)
|
199 |
logger.info("Replying to mentions...")
|
200 |
reply_to_mentions()
|
201 |
except Exception as e:
|