Khachatur Mirijanyan
commited on
Commit
•
0f27ac5
1
Parent(s):
22c6298
Fixing UI
Browse files
app.py
CHANGED
@@ -16,13 +16,15 @@ if __name__ == "__main__":
|
|
16 |
gr.Interface(
|
17 |
answer_question,
|
18 |
[
|
19 |
-
gr.inputs.Textbox(lines=
|
20 |
],
|
21 |
-
gr.outputs.Textbox(label="Response"),
|
22 |
title="Ask NBA Stats",
|
23 |
description=""" Ask NBA Stats is a tool that let's you ask a question with
|
24 |
the NBA SQL tables as a reference
|
25 |
|
|
|
|
|
26 |
If you would like to access the large DB use format
|
27 |
|
28 |
### Query
|
|
|
16 |
gr.Interface(
|
17 |
answer_question,
|
18 |
[
|
19 |
+
gr.inputs.Textbox(lines=10, label="Query"),
|
20 |
],
|
21 |
+
gr.outputs.Textbox(label="Response", lines=10),
|
22 |
title="Ask NBA Stats",
|
23 |
description=""" Ask NBA Stats is a tool that let's you ask a question with
|
24 |
the NBA SQL tables as a reference
|
25 |
|
26 |
+
Ask a simple question to use the small database
|
27 |
+
|
28 |
If you would like to access the large DB use format
|
29 |
|
30 |
### Query
|