mirror of
https://github.com/gradio-app/gradio.git
synced 2025-02-11 11:19:58 +08:00
* fixed visibility error in notebooks in github * Delete fixNotebooks.py deleted script used to fix notebooks * Update generate_notebooks.py fixed a small bug that prevented visibility of notebooks in GitHub
1.2 KiB
1.2 KiB
Gradio Demo: latex¶
In [ ]:
!pip install -q gradio
In [ ]:
import gradio as gr with gr.Blocks() as demo: gr.Markdown( r""" # Hello World! $\frac{\sqrt{x + y}}{4}$ is today's lesson ## the $\sqrt{x + y}$ is first Start with $\frac{\frac{x+1}{x+2}}{x+3}$ then we get $ 2+x $ and $3$. There are three formulas to know: the first is $\gamma^2 + \theta^2 = \omega^2$ $\sqrt{x^2+1}$ is next Integral $\int_{a}^{b} x^2 \,dx$ is last Start typing below to see the output. I spent $5 at the grocery store. Then I bought a $2.50 ice cream cone. """) if __name__ == "__main__": demo.launch()