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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -415,12 +415,11 @@ 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
-
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
  )
 
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
  )