Spaces:
Sleeping
Sleeping
Update app.py
Browse filesUpdated second table to 'Visualise Answers'
app.py
CHANGED
@@ -319,7 +319,7 @@ with gr.Blocks(theme='aliabid94/new-theme') as demo:
|
|
319 |
prompt_questions = gr.Textbox(label = 'Input prompt here:', placeholder = "Try something like 'What is the name of the issuing template that has been used to request the most certificates?'")
|
320 |
text_output = gr.Textbox(label = 'Response:')
|
321 |
text_button = gr.Button("Submit")
|
322 |
-
with gr.Tab("
|
323 |
prompt_reporting = gr.Textbox(label = 'Input prompt here:', placeholder = "Try something like 'Plot a line chart of certificate issuances over time'")
|
324 |
chart_output = gr.Plot(label = 'Output:')
|
325 |
chart_button = gr.Button("Submit")
|
|
|
319 |
prompt_questions = gr.Textbox(label = 'Input prompt here:', placeholder = "Try something like 'What is the name of the issuing template that has been used to request the most certificates?'")
|
320 |
text_output = gr.Textbox(label = 'Response:')
|
321 |
text_button = gr.Button("Submit")
|
322 |
+
with gr.Tab("Visualize Answers"):
|
323 |
prompt_reporting = gr.Textbox(label = 'Input prompt here:', placeholder = "Try something like 'Plot a line chart of certificate issuances over time'")
|
324 |
chart_output = gr.Plot(label = 'Output:')
|
325 |
chart_button = gr.Button("Submit")
|