Spaces:
Sleeping
Sleeping
Aiswarya Sankar
commited on
Commit
·
aaea47d
1
Parent(s):
72925f5
Update app.py
Browse files
app.py
CHANGED
@@ -204,9 +204,6 @@ def index_repo(textbox: str, dropdown: str) -> Response:
|
|
204 |
|
205 |
return {
|
206 |
success_response: "SUCCESS",
|
207 |
-
# repoName: repoName,
|
208 |
-
# repoTextBox: repoName,
|
209 |
-
# ingestedRepos: ingestedRepos,
|
210 |
launch_product: gr.update(visible=True)
|
211 |
}
|
212 |
|
@@ -595,7 +592,6 @@ with gr.Blocks() as demo:
|
|
595 |
|
596 |
gr.Markdown(allDocs)
|
597 |
|
598 |
-
|
599 |
# def button_click_callback(markdown):
|
600 |
# print("IN BUTTON CLICK CALLBACK")
|
601 |
# docs = generateDocumentationPerFolder("overview", repoName[:-4])
|
@@ -684,7 +680,6 @@ with gr.Blocks() as demo:
|
|
684 |
|
685 |
ingest_btn.click(fn=index_repo, inputs=[repoTextBox, ingestedRepos], outputs=[success_response, launch_product], api_name="index_repo")
|
686 |
|
687 |
-
|
688 |
demo.queue()
|
689 |
demo.launch(debug=True)
|
690 |
|
|
|
204 |
|
205 |
return {
|
206 |
success_response: "SUCCESS",
|
|
|
|
|
|
|
207 |
launch_product: gr.update(visible=True)
|
208 |
}
|
209 |
|
|
|
592 |
|
593 |
gr.Markdown(allDocs)
|
594 |
|
|
|
595 |
# def button_click_callback(markdown):
|
596 |
# print("IN BUTTON CLICK CALLBACK")
|
597 |
# docs = generateDocumentationPerFolder("overview", repoName[:-4])
|
|
|
680 |
|
681 |
ingest_btn.click(fn=index_repo, inputs=[repoTextBox, ingestedRepos], outputs=[success_response, launch_product], api_name="index_repo")
|
682 |
|
|
|
683 |
demo.queue()
|
684 |
demo.launch(debug=True)
|
685 |
|