Spaces:
Runtime error
Runtime error
zwq2018
commited on
Commit
·
f59b8aa
1
Parent(s):
6b2377d
modified: app.py
Browse files
app.py
CHANGED
|
@@ -81,8 +81,8 @@ with gr.Blocks() as demo:
|
|
| 81 |
gr.Markdown(
|
| 82 |
"""
|
| 83 |
# Hello Data-Copilot ! 😀
|
| 84 |
-
A powerful AI system connects humans and data.
|
| 85 |
-
The current version only supports Chinese financial data
|
| 86 |
""")
|
| 87 |
|
| 88 |
|
|
@@ -91,7 +91,7 @@ with gr.Blocks() as demo:
|
|
| 91 |
with gr.Column(scale=0.9):
|
| 92 |
gr.Markdown(
|
| 93 |
"""
|
| 94 |
-
You can use gpt35 from openai or from openai-azure.
|
| 95 |
""")
|
| 96 |
openai_api_key = gr.Textbox(
|
| 97 |
show_label=False,
|
|
@@ -132,7 +132,7 @@ with gr.Blocks() as demo:
|
|
| 132 |
|
| 133 |
with gr.Row():
|
| 134 |
with gr.Column(scale=0.9):
|
| 135 |
-
input_text = gr.inputs.Textbox(lines=1, placeholder='Please input your problem...', label='what do you want to find?')
|
| 136 |
|
| 137 |
with gr.Column(scale=0.1, min_width=0):
|
| 138 |
start_btn = gr.Button("Start").style(full_height=True)
|
|
|
|
| 81 |
gr.Markdown(
|
| 82 |
"""
|
| 83 |
# Hello Data-Copilot ! 😀
|
| 84 |
+
A powerful AI system connects humans and data.
|
| 85 |
+
## The current version only supports **Chinese financial data**, in the future we will support for other country data
|
| 86 |
""")
|
| 87 |
|
| 88 |
|
|
|
|
| 91 |
with gr.Column(scale=0.9):
|
| 92 |
gr.Markdown(
|
| 93 |
"""
|
| 94 |
+
You can use gpt35 from openai or from openai-azure ,then press OK.
|
| 95 |
""")
|
| 96 |
openai_api_key = gr.Textbox(
|
| 97 |
show_label=False,
|
|
|
|
| 132 |
|
| 133 |
with gr.Row():
|
| 134 |
with gr.Column(scale=0.9):
|
| 135 |
+
input_text = gr.inputs.Textbox(lines=1, placeholder='Please input your problem...', label='what do you want to find? Then press Start')
|
| 136 |
|
| 137 |
with gr.Column(scale=0.1, min_width=0):
|
| 138 |
start_btn = gr.Button("Start").style(full_height=True)
|