Spaces:
Running
Running
import gradio as gr | |
def render_latex(latex_code): | |
return latex_code | |
iface = gr.Interface( | |
fn=render_latex, | |
inputs=gr.TextArea(placeholder="Enter LaTeX code here...", value="E = mc^2"), outputs="text", | |
title="LaTeX Code Renderer", | |
description="This interface returns LaTeX code as is. Please use a LaTeX renderer in your browser to see the formatted output." | |
) | |
iface.launch() |