removing iface initialisation

#4
by mukiibi - opened
Files changed (1) hide show
  1. app.py +1 -6
app.py CHANGED
@@ -296,9 +296,4 @@ def create_interface():
296
 
297
  # === Main Execution ===
298
  if __name__ == "__main__":
299
- iface = create_interface()
300
- iface.launch(
301
- server_name="0.0.0.0", # For Hugging Face deployment
302
- server_port=7860, # Standard HF port
303
- show_error=True
304
- )
 
296
 
297
  # === Main Execution ===
298
  if __name__ == "__main__":
299
+ iface.launch()