yasserrmd commited on
Commit
8e024f6
1 Parent(s): 4678d36

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1,6 +1,8 @@
1
  import gradio as gr
2
  from docling.document_converter import DocumentConverter
 
3
 
 
4
  def convert_document(file, output_format):
5
  # Load document and convert it using Docling
6
  converter = DocumentConverter()
 
1
  import gradio as gr
2
  from docling.document_converter import DocumentConverter
3
+ import spaces
4
 
5
+ @spaces.GPU
6
  def convert_document(file, output_format):
7
  # Load document and convert it using Docling
8
  converter = DocumentConverter()