Gianpaolo Macario commited on
Commit
7c8381c
1 Parent(s): c471665

feat(app): Add markdown front matter

Browse files
Files changed (1) hide show
  1. app.py +10 -7
app.py CHANGED
@@ -86,13 +86,16 @@ def generate_image(prompt: str):
86
 
87
 
88
  with gr.Blocks() as demo:
89
- # name = gr.Textbox(label="Type your name", placeholder="Enter your name here")
90
- # greet_btn = gr.Button("Greet")
91
- # output = gr.Textbox(label="Message")
92
- # greet_btn.click(fn=greet, inputs=name, outputs=output, api_name="greet")
93
- # joke_btn = gr.Button("Get Dad Joke")
94
- # joke_output = gr.Textbox(label="Dad Joke")
95
- # joke_btn.click(fn=get_dad_joke, outputs=joke_output, api_name="get_dad_joke")
 
 
 
96
 
97
  tab_calc = gr.Tab("Calculator")
98
  with tab_calc:
 
86
 
87
 
88
  with gr.Blocks() as demo:
89
+ gr.Markdown(
90
+ """## 馃МCalculator and other useful tools
91
+
92
+ ### Built from the ground up for LLMs
93
+
94
+ This app provides a simple calculator, a dad joke generator, a greeting function, and an image generation feature.
95
+
96
+ Use via API or MCP 馃殌 路 [Powered by Modal](https://modal.com/) 路 [Built with Gradio](https://www.gradio.app/) 馃煣
97
+ """
98
+ )
99
 
100
  tab_calc = gr.Tab("Calculator")
101
  with tab_calc: