add right run style

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

4
app.py
View File

@@ -14,6 +14,7 @@ from handlers.convertMdToPdf import ConvertMdToPdf
gh = GradioHandlers(gr, Llm, ConvertMdToPdf, FileHandlers, FasterWhisper) gh = GradioHandlers(gr, Llm, ConvertMdToPdf, FileHandlers, FasterWhisper)
def main():
with gr.Blocks() as demo: with gr.Blocks() as demo:
gr.HTML(''' gr.HTML('''
<div align=center> <div align=center>
@@ -116,3 +117,6 @@ with gr.Blocks() as demo:
) )
demo.launch() demo.launch()
if __name__ == '__main__':
main()