Wassymk commited on
Commit
8acfb53
·
1 Parent(s): 841de0c

Add OCR app and dependencies

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -240,7 +240,7 @@ if __name__ == "__main__":
240
  logger.info("Starting OCR Comparison App...")
241
  try:
242
  # Try to launch on localhost first
243
- demo.launch(server_name="127.0.0.1", server_port=7860, share=False)
244
  except ValueError as e:
245
  logger.warning(f"Localhost not accessible: {e}")
246
  logger.info("Launching with public URL...")
 
240
  logger.info("Starting OCR Comparison App...")
241
  try:
242
  # Try to launch on localhost first
243
+ demo.launch(share=True)
244
  except ValueError as e:
245
  logger.warning(f"Localhost not accessible: {e}")
246
  logger.info("Launching with public URL...")