Translsis commited on
Commit
b6f0421
·
verified ·
1 Parent(s): dfc352c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -415,10 +415,12 @@ APISR aims at restoring and enhancing low-quality low-resolution **anime** image
415
  # Auto-load history on page load
416
  demo.load(fn=get_history_display, outputs=[history_display])
417
 
418
- # Launch the app
 
419
  demo.queue(max_size=20)
420
  demo.launch(
421
  server_name="0.0.0.0",
422
  server_port=7860,
423
- share=False
 
424
  )
 
415
  # Auto-load history on page load
416
  demo.load(fn=get_history_display, outputs=[history_display])
417
 
418
+
419
+ # Launch the app - ADD show_api=False to disable API info generation
420
  demo.queue(max_size=20)
421
  demo.launch(
422
  server_name="0.0.0.0",
423
  server_port=7860,
424
+ share=False,
425
+ show_api=False # Add this line to fix the error
426
  )