Neodpy commited on
Commit
ed835cc
·
verified ·
1 Parent(s): 013b9b5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -6
app.py CHANGED
@@ -10,18 +10,19 @@ with gr.Blocks(theme=gr.themes.Origin(primary_hue="red", secondary_hue="pink"),
10
  "Enter a GitHub repository URL or ID (in the format `user/repo`) below. "
11
  "This tool fetches repository details and uses the Groq API to generate documentation."
12
  )
 
 
 
 
 
 
13
 
14
- repo_id_input = gr.Textbox(
15
- label="GitHub Repository URL or ID",
16
- placeholder="https://github.com/octocat/Hello-World or octocat/Hello-World",
17
- )
18
  output_box = gr.Textbox(
19
  label="Generated Documentation",
20
  lines=20,
21
  interactive=True,
22
  )
23
- generate_button = gr.Button("Generate Documentation")
24
-
25
  # When the button is clicked, call the generate_docs function.
26
  generate_button.click(fn=generate_docs, inputs=repo_id_input, outputs=output_box)
27
 
 
10
  "Enter a GitHub repository URL or ID (in the format `user/repo`) below. "
11
  "This tool fetches repository details and uses the Groq API to generate documentation."
12
  )
13
+ with gr.Row():
14
+ repo_id_input = gr.Textbox(
15
+ label="GitHub Repository URL or ID",
16
+ placeholder="https://github.com/octocat/Hello-World or octocat/Hello-World",
17
+ )
18
+ generate_button = gr.Button("Generate Documentation")
19
 
 
 
 
 
20
  output_box = gr.Textbox(
21
  label="Generated Documentation",
22
  lines=20,
23
  interactive=True,
24
  )
25
+
 
26
  # When the button is clicked, call the generate_docs function.
27
  generate_button.click(fn=generate_docs, inputs=repo_id_input, outputs=output_box)
28