ilhamdev commited on
Commit
f751ede
·
verified ·
1 Parent(s): 759a5a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -62,7 +62,6 @@ title = "Face Real ESRGAN UpScale: 2x 4x 8x"
62
  description = "This is an unofficial demo for Real-ESRGAN. Scales the resolution of a photo. This model shows better results on faces compared to the original version.<br>Telegram BOT: https://t.me/restoration_photo_bot"
63
  article = "<div style='text-align: center;'>Twitter <a href='https://twitter.com/DoEvent' target='_blank'>Max Skobeev</a> | <a href='https://huggingface.co/ai-forever/Real-ESRGAN' target='_blank'>Model card</a></div>"
64
 
65
- # Menggunakan gr.Blocks untuk menghindari bug schema pada gr.Interface
66
  with gr.Blocks() as demo:
67
  gr.Markdown(f"# {title}")
68
  gr.Markdown(description)
@@ -83,5 +82,5 @@ with gr.Blocks() as demo:
83
 
84
  gr.Markdown(article)
85
 
86
- # server_name="0.0.0.0" adalah WAJIB agar bisa diakses di Hugging Face Spaces
87
  demo.queue().launch(server_name="0.0.0.0", server_port=7860, show_error=True)
 
62
  description = "This is an unofficial demo for Real-ESRGAN. Scales the resolution of a photo. This model shows better results on faces compared to the original version.<br>Telegram BOT: https://t.me/restoration_photo_bot"
63
  article = "<div style='text-align: center;'>Twitter <a href='https://twitter.com/DoEvent' target='_blank'>Max Skobeev</a> | <a href='https://huggingface.co/ai-forever/Real-ESRGAN' target='_blank'>Model card</a></div>"
64
 
 
65
  with gr.Blocks() as demo:
66
  gr.Markdown(f"# {title}")
67
  gr.Markdown(description)
 
82
 
83
  gr.Markdown(article)
84
 
85
+ # server_name="0.0.0.0" adalah konfigurasi resmi yang diizinkan Hugging Face Spaces
86
  demo.queue().launch(server_name="0.0.0.0", server_port=7860, show_error=True)