add right run style
This commit is contained in:
8
app.py
8
app.py
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user