Spaces:
Sleeping
Sleeping
Better message formatting
Browse files
app.py
CHANGED
@@ -26,9 +26,9 @@ def look_up_tflite(repo_id):
|
|
26 |
for tflite_path in tflite_files:
|
27 |
tflite_file = os.path.basename(tflite_path)
|
28 |
print(f"Found tflite file: {tflite_file}")
|
29 |
-
tflite_message += f"
|
30 |
-
return f"```\n{result.stdout}\n
|
31 |
-
|
32 |
def post_discussion_comment(repo_id, discussion_num, message):
|
33 |
api.comment_discussion(
|
34 |
repo_id=repo_id,
|
|
|
26 |
for tflite_path in tflite_files:
|
27 |
tflite_file = os.path.basename(tflite_path)
|
28 |
print(f"Found tflite file: {tflite_file}")
|
29 |
+
tflite_message += f"Found tflite file {tflite_file} - Running cycle estimation\n"
|
30 |
+
return f"```\n{result.stdout}\n```\n{tflite_message}(This is an automated message)"
|
31 |
+
|
32 |
def post_discussion_comment(repo_id, discussion_num, message):
|
33 |
api.comment_discussion(
|
34 |
repo_id=repo_id,
|