alihmaou commited on
Commit
28dce34
·
1 Parent(s): be4adf4

Added a diagram generator (based on my drawittome tool)

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ demo = gr.TabbedInterface(
7
  gr.Interface(fn=jokes.smalljoke,inputs=["text"],outputs="text", title="Small joke teller", description="Tells a small joke in french"),
8
  gr.Interface(fn=jokes.longjoke,inputs=["text","text","text","text" ],outputs="text", title="Long joke teller", description="Tells a longer joke in french"),
9
  gr.Interface(fn=datasetananalysis.describedataset,inputs=["text" ],outputs="text", title="Dataset descriptor", description="Provides a usefull description of a dataset to allow content and structure awareness before SQL requesting on it."),
10
- gr.Interface(fn=diagrams.generateDiagram, inputs=["text","text"], outputs=["html","html","text","text"], title="Diagrams generator", description="Generates a mermaid diagram to explain a submited text. The diagram is returned in different formats(svg and raw code)")
11
  ],
12
  [
13
  "Histoire courte (test)",
 
7
  gr.Interface(fn=jokes.smalljoke,inputs=["text"],outputs="text", title="Small joke teller", description="Tells a small joke in french"),
8
  gr.Interface(fn=jokes.longjoke,inputs=["text","text","text","text" ],outputs="text", title="Long joke teller", description="Tells a longer joke in french"),
9
  gr.Interface(fn=datasetananalysis.describedataset,inputs=["text" ],outputs="text", title="Dataset descriptor", description="Provides a usefull description of a dataset to allow content and structure awareness before SQL requesting on it."),
10
+ gr.Interface(fn=diagrams.generateDiagram, inputs=["text","text"], outputs=["html","text","text"], title="Diagrams generator", description="Generates a mermaid diagram to explain a submited text. The diagram is returned in different formats(svg and raw code)")
11
  ],
12
  [
13
  "Histoire courte (test)",