Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -146,6 +146,10 @@ with gr.Blocks() as demo:
|
|
| 146 |
fn_action_buttons, # Fonction appelée lors du clic
|
| 147 |
outputs=[info_text] + output_buttons # Mise à jour des éléments Markdown et boutons
|
| 148 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 149 |
|
| 150 |
demo.launch(share=False)
|
| 151 |
#demo.launch(share=True, auth=("username", "password"))
|
|
|
|
| 146 |
fn_action_buttons, # Fonction appelée lors du clic
|
| 147 |
outputs=[info_text] + output_buttons # Mise à jour des éléments Markdown et boutons
|
| 148 |
)
|
| 149 |
+
with gr.TabItem("V1-Graph"):
|
| 150 |
+
info_graph = gr.Markdown(f"# La prochaine version est un agent graph.")
|
| 151 |
+
image_path = os.path.abspath("Output\\graph.jpeg")
|
| 152 |
+
image_display = gr.Image(image_path, label="Action Image")
|
| 153 |
|
| 154 |
demo.launch(share=False)
|
| 155 |
#demo.launch(share=True, auth=("username", "password"))
|