Bliss-Ruth commited on
Commit
24093cb
·
verified ·
1 Parent(s): 7259ead

launching publicly

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -121,7 +121,7 @@ def predict_sign(video_path, model, processor, id_to_label, device):
121
  demo = gr.Interface(
122
  fn=predict_video,
123
  inputs=gr.Video(label="📹 Upload Sign Language Video"),
124
- outputs=gr.Markdown(label="🎯 Prediction Results"),
125
  title="🤟 Ugandan Sign Language Recognition",
126
  description="Upload a video of sign language and the AI will predict which sign it is!",
127
  examples=[] # You can add example videos later
@@ -129,4 +129,4 @@ demo = gr.Interface(
129
 
130
  # For Hugging Face Spaces deployment
131
  if __name__ == "__main__":
132
- demo.launch(server_name="0.0.0.0", server_port=7860)
 
121
  demo = gr.Interface(
122
  fn=predict_video,
123
  inputs=gr.Video(label="📹 Upload Sign Language Video"),
124
+ outputs=gr.Markdown(label=" Prediction Results"),
125
  title="🤟 Ugandan Sign Language Recognition",
126
  description="Upload a video of sign language and the AI will predict which sign it is!",
127
  examples=[] # You can add example videos later
 
129
 
130
  # For Hugging Face Spaces deployment
131
  if __name__ == "__main__":
132
+ demo.launch(share=True)