codelion commited on
Commit
98c7ca5
β€’
1 Parent(s): 9c37d8b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -2
app.py CHANGED
@@ -87,11 +87,16 @@ def analyze_github_repo(repo_input, github_token=None):
87
  error_message = f"❌ An error occurred: {str(e)}"
88
  traceback.print_exc()
89
  yield progress_md + error_message, gr.update(visible=True), gr.update(visible=False)
90
-
 
 
 
 
91
  # Define the Gradio interface
92
  with gr.Blocks() as app:
93
  gr.Markdown("# Patched GitHub Repo Analyzer")
94
- gr.Markdown("## Build and run your identified workflows with [patched](https://patched.codes)")
 
95
 
96
  repo_input = gr.Textbox(label="Enter GitHub Repository Slug or URL")
97
 
 
87
  error_message = f"❌ An error occurred: {str(e)}"
88
  traceback.print_exc()
89
  yield progress_md + error_message, gr.update(visible=True), gr.update(visible=False)
90
+
91
+ html = """
92
+ <p>Build and run your identified workflows with <a href="https://patched.codes">patched</a></p>
93
+ <iframe src="https://ghbtns.com/github-btn.html?user=patched-codes&repo=patchwork&type=star&count=true&size=large" frameborder="0" scrolling="0" width="170" height="30" title="GitHub"></iframe>
94
+ """
95
  # Define the Gradio interface
96
  with gr.Blocks() as app:
97
  gr.Markdown("# Patched GitHub Repo Analyzer")
98
+ # gr.Markdown("## Build and run your identified workflows with [patched](https://patched.codes)")
99
+ gr.HTML(html)
100
 
101
  repo_input = gr.Textbox(label="Enter GitHub Repository Slug or URL")
102