Spaces:
Sleeping
Sleeping
WIP: regactoring code and merge
Browse files- .vscode/settings.json +6 -0
- app.py +1 -1
- requirements.txt +2 -1
.vscode/settings.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"[python]": {
|
| 3 |
+
"editor.defaultFormatter": "ms-python.autopep8"
|
| 4 |
+
},
|
| 5 |
+
"python.formatting.provider": "none"
|
| 6 |
+
}
|
app.py
CHANGED
|
@@ -17,7 +17,7 @@ def getRepoInformation(input_queries):
|
|
| 17 |
|
| 18 |
def ressurectingFrontend():
|
| 19 |
search = gr.Interface(
|
| 20 |
-
fn=
|
| 21 |
inputs= gr.inputs.Textbox(lines=1, label="Search"),
|
| 22 |
outputs= gr.outputs.Textbox(label="Output"),
|
| 23 |
title="Search Github",
|
|
|
|
| 17 |
|
| 18 |
def ressurectingFrontend():
|
| 19 |
search = gr.Interface(
|
| 20 |
+
fn= getRepoInformation,
|
| 21 |
inputs= gr.inputs.Textbox(lines=1, label="Search"),
|
| 22 |
outputs= gr.outputs.Textbox(label="Output"),
|
| 23 |
title="Search Github",
|
requirements.txt
CHANGED
|
@@ -2,4 +2,5 @@ PyGithub
|
|
| 2 |
transformers
|
| 3 |
gradio
|
| 4 |
python-dotenv
|
| 5 |
-
tensorflow
|
|
|
|
|
|
| 2 |
transformers
|
| 3 |
gradio
|
| 4 |
python-dotenv
|
| 5 |
+
tensorflow
|
| 6 |
+
datasets
|