Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -149,8 +149,12 @@ with gr.Blocks() as demo:
|
|
| 149 |
)
|
| 150 |
with gr.TabItem("V1-Graph"):
|
| 151 |
info_graph = gr.Markdown(f"# La prochaine version est un agent graph.")
|
| 152 |
-
|
| 153 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 154 |
|
| 155 |
demo.launch(share=False)
|
| 156 |
#demo.launch(share=True, auth=("username", "password"))
|
|
|
|
| 149 |
)
|
| 150 |
with gr.TabItem("V1-Graph"):
|
| 151 |
info_graph = gr.Markdown(f"# La prochaine version est un agent graph.")
|
| 152 |
+
def afficher_image():
|
| 153 |
+
# Remplacez le chemin par votre image
|
| 154 |
+
image_path = os.path.abspath("Output\\graph.jpeg")
|
| 155 |
+
return image_path
|
| 156 |
+
gr.Image(afficher_image())
|
| 157 |
+
|
| 158 |
|
| 159 |
demo.launch(share=False)
|
| 160 |
#demo.launch(share=True, auth=("username", "password"))
|