Kawthar12h commited on
Commit
17879b6
1 Parent(s): 6b49c3e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -128,5 +128,3 @@ handwritten_rec = gr.Interface(
128
  # Combine all interfaces into a tabbed interface
129
  demo = gr.TabbedInterface([img_cap_en_ar, text_recognition, handwritten_rec], ["Extract_Caption", " Extract_Digital_text", " Extract_HandWritten_text"])
130
  demo.launch(debug=True)
131
- if __name__ == "__main__":
132
- app.run(host= "0.0.0.0", port=7860)
 
128
  # Combine all interfaces into a tabbed interface
129
  demo = gr.TabbedInterface([img_cap_en_ar, text_recognition, handwritten_rec], ["Extract_Caption", " Extract_Digital_text", " Extract_HandWritten_text"])
130
  demo.launch(debug=True)