IZERE HIRWA Roger commited on
Commit
c2c7f31
·
1 Parent(s): c0550e9
Files changed (2) hide show
  1. app.py +0 -1
  2. requirements.txt +5 -0
app.py CHANGED
@@ -23,7 +23,6 @@ interface = gr.Interface(
23
  title="Handwritten Text Recognition",
24
  description="Upload an image of handwritten text to recognize it using TrOCR.",
25
  server_name="0.0.0.0", # Ensure compatibility with Hugging Face GPUs
26
- server_port=7860 # Default Gradio port
27
  )
28
 
29
  # Launch interface
 
23
  title="Handwritten Text Recognition",
24
  description="Upload an image of handwritten text to recognize it using TrOCR.",
25
  server_name="0.0.0.0", # Ensure compatibility with Hugging Face GPUs
 
26
  )
27
 
28
  # Launch interface
requirements.txt ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ # requirements.txt
2
+ transformers
3
+ torch
4
+ pillow
5
+ gradio