Witold Wydmański commited on
Commit
e74d416
·
1 Parent(s): ec8af9d

fix: add explicit server name and port

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -43,6 +43,8 @@ iface = gr.Interface(
43
  outputs=gr.File(label="Text file", type="file", encoding="utf-8"),
44
  title="PDF to Text Converter",
45
  description="Converts a PDF file to text using Tesseract OCR.",
 
 
46
  ).queue(concurrency_count=10)
47
 
48
  iface.launch()
 
43
  outputs=gr.File(label="Text file", type="file", encoding="utf-8"),
44
  title="PDF to Text Converter",
45
  description="Converts a PDF file to text using Tesseract OCR.",
46
+ server_name="0.0.0.0",
47
+ server_port=7860
48
  ).queue(concurrency_count=10)
49
 
50
  iface.launch()