Update app.py
Browse files
app.py
CHANGED
@@ -81,7 +81,7 @@ def gradio_interface(text):
|
|
81 |
|
82 |
demo = gr.Blocks(
|
83 |
title="Text-to-SQL",
|
84 |
-
theme=
|
85 |
)
|
86 |
|
87 |
with demo:
|
@@ -99,9 +99,18 @@ with demo:
|
|
99 |
)
|
100 |
|
101 |
with gr.Row():
|
102 |
-
with gr.Column():
|
103 |
text_input = gr.Textbox(label="Enter your query")
|
104 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
output_text = gr.Textbox(label="Output", interactive=False)
|
106 |
output_df = gr.Dataframe(interactive=False)
|
107 |
|
|
|
81 |
|
82 |
demo = gr.Blocks(
|
83 |
title="Text-to-SQL",
|
84 |
+
theme='remilia/ghostly',
|
85 |
)
|
86 |
|
87 |
with demo:
|
|
|
99 |
)
|
100 |
|
101 |
with gr.Row():
|
102 |
+
with gr.Column(scale=1):
|
103 |
text_input = gr.Textbox(label="Enter your query")
|
104 |
+
gr.Examples([
|
105 |
+
'Find the correlation between RTT and Jitter for each Market',
|
106 |
+
'Find the variance in Jitter for each 5G_Reliability_Category',
|
107 |
+
'Find the count of records per 5G_Reliability_Category where 5G_Reliability_Value is below the average for the category',
|
108 |
+
'Calculate the standard deviation of 5G_Reliability_Score for each Network_Engineer',
|
109 |
+
'Determine the Sector with the highest variance in 5G Reliability Value and its corresponding average Context Drop Percent'
|
110 |
+
],
|
111 |
+
inputs=[text_input]
|
112 |
+
)
|
113 |
+
with gr.Column(scale=3):
|
114 |
output_text = gr.Textbox(label="Output", interactive=False)
|
115 |
output_df = gr.Dataframe(interactive=False)
|
116 |
|