add right run style

This commit is contained in:
swrneko
2025-09-11 13:28:04 +03:00
parent 5bf005cd81
commit 6b27149460

8
app.py
View File

@@ -14,7 +14,8 @@ from handlers.convertMdToPdf import ConvertMdToPdf
gh = GradioHandlers(gr, Llm, ConvertMdToPdf, FileHandlers, FasterWhisper)
with gr.Blocks() as demo:
def main():
with gr.Blocks() as demo:
gr.HTML('''
<div align=center>
<h1>
@@ -115,4 +116,7 @@ with gr.Blocks() as demo:
outputs=[refinedText, refinedTextMD]
)
demo.launch()
demo.launch()
if __name__ == '__main__':
main()