nadish1210 commited on
Commit
c9ad44f
·
verified ·
1 Parent(s): e8bbcc4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -109,5 +109,12 @@ with gr.Blocks(css=css, title="Its Nadish - Image to PDF") as demo:
109
  img_msg, comb_msg, comp_msg, comp_table, f_msg]
110
  )
111
 
 
 
112
  if __name__ == "__main__":
113
- demo.launch(server_name="0.0.0.0", server_port=7860)
 
 
 
 
 
 
109
  img_msg, comb_msg, comp_msg, comp_table, f_msg]
110
  )
111
 
112
+ # app.py ke sabse last mein yeh rakho (purana wala replace kar do)
113
+
114
  if __name__ == "__main__":
115
+ demo.launch(
116
+ #server_name="0.0.0.0", # ← Yeh line **hatado** ya comment out kar do
117
+ # server_port=7860, # Yeh bhi hatado
118
+ share=False,
119
+ ssr_mode=False # Agar UI loading slow ya glitchy lage to yeh rakho
120
+ )=7860)