Translsis commited on
Commit
ebb0f55
·
verified ·
1 Parent(s): 90196dc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -415,11 +415,10 @@ 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 with show_api=False to fix the API info error
419
  demo.queue(max_size=20)
420
  demo.launch(
421
  server_name="0.0.0.0",
422
  server_port=7860,
423
- share=False,
424
- show_api=False # This fixes the TypeError in gradio_client
425
  )
 
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
  )