Update app.py
Browse files
app.py
CHANGED
|
@@ -39,7 +39,7 @@ def dprocess(command, ddddd):
|
|
| 39 |
return 42
|
| 40 |
|
| 41 |
# Set-up the Gradio UI
|
| 42 |
-
textbox = gr.Textbox(label='Command')
|
| 43 |
# company = gr.Radio(label='Company:',
|
| 44 |
# choices=["aws", "google", "IBM", "Meta", "msft"],
|
| 45 |
# value="aws")
|
|
@@ -53,14 +53,13 @@ with gr.Blocks(theme=gr.themes.Soft()) as operand:
|
|
| 53 |
gr.Markdown("# operand")
|
| 54 |
gr.Markdown("Data Studio<br><br>")
|
| 55 |
|
| 56 |
-
|
| 57 |
with gr.Tab("Data Source"):
|
| 58 |
gr.Markdown("## Data Sources")
|
| 59 |
gr.Markdown("Instances of data sources e.g., Jira Cloud endpoint")
|
| 60 |
|
| 61 |
|
| 62 |
-
with gr.Accordion("
|
| 63 |
-
gr.Markdown("
|
| 64 |
|
| 65 |
textbox_a = gr.Textbox(label='Command A')
|
| 66 |
output_a = gr.Textbox(label='Output A')
|
|
|
|
| 39 |
return 42
|
| 40 |
|
| 41 |
# Set-up the Gradio UI
|
| 42 |
+
#textbox = gr.Textbox(label='Command')
|
| 43 |
# company = gr.Radio(label='Company:',
|
| 44 |
# choices=["aws", "google", "IBM", "Meta", "msft"],
|
| 45 |
# value="aws")
|
|
|
|
| 53 |
gr.Markdown("# operand")
|
| 54 |
gr.Markdown("Data Studio<br><br>")
|
| 55 |
|
|
|
|
| 56 |
with gr.Tab("Data Source"):
|
| 57 |
gr.Markdown("## Data Sources")
|
| 58 |
gr.Markdown("Instances of data sources e.g., Jira Cloud endpoint")
|
| 59 |
|
| 60 |
|
| 61 |
+
with gr.Accordion("Guide"):
|
| 62 |
+
gr.Markdown("data_source <name> <desc> <endpoint> <creds>")
|
| 63 |
|
| 64 |
textbox_a = gr.Textbox(label='Command A')
|
| 65 |
output_a = gr.Textbox(label='Output A')
|