Spaces:
Runtime error
Runtime error
Commit ·
d08a48d
1
Parent(s): a9b5570
update
Browse files
app.py
CHANGED
|
@@ -97,6 +97,16 @@ Overall, the code change seems to be correct, assuming the author's intention is
|
|
| 97 |
"""
|
| 98 |
|
| 99 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 100 |
with gr.Blocks(theme="xiaobaiyuan/theme_brief") as demo:
|
| 101 |
gr.Markdown("# Codedog - A pull reqeust review tool")
|
| 102 |
|
|
@@ -141,6 +151,9 @@ with gr.Blocks(theme="xiaobaiyuan/theme_brief") as demo:
|
|
| 141 |
# show_sample, inputs=[sample_choice], outputs=[sample_content]
|
| 142 |
# )
|
| 143 |
|
|
|
|
|
|
|
|
|
|
| 144 |
|
| 145 |
if __name__ == "__main__":
|
| 146 |
demo.launch()
|
|
|
|
| 97 |
"""
|
| 98 |
|
| 99 |
|
| 100 |
+
about = """Codedog is used for a while in my team (reviewed about 2000 PRs.).
|
| 101 |
+
Basically it's a service triggered by PR event and comment directly on the PR to give a pre human review.
|
| 102 |
+
|
| 103 |
+
Comment report includes PR summary and code suggestions. Summary is great and time saving.
|
| 104 |
+
But suggestions are not very valuable now.
|
| 105 |
+
|
| 106 |
+
CR practice learned from: https://google.github.io/eng-practices/review/reviewer
|
| 107 |
+
"""
|
| 108 |
+
|
| 109 |
+
|
| 110 |
with gr.Blocks(theme="xiaobaiyuan/theme_brief") as demo:
|
| 111 |
gr.Markdown("# Codedog - A pull reqeust review tool")
|
| 112 |
|
|
|
|
| 151 |
# show_sample, inputs=[sample_choice], outputs=[sample_content]
|
| 152 |
# )
|
| 153 |
|
| 154 |
+
with gr.Tab(label="About"):
|
| 155 |
+
gr.Markdown(value=about)
|
| 156 |
+
|
| 157 |
|
| 158 |
if __name__ == "__main__":
|
| 159 |
demo.launch()
|