ocrlatex / app.py
seawolf2357's picture
Update app.py
29a15dd verified
raw
history blame
400 Bytes
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()