Testys commited on
Commit
b36b7cd
Β·
verified Β·
1 Parent(s): 63dd426

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -111,5 +111,6 @@ with gr.Blocks(theme=gr.themes.Default(primary_hue="blue", secondary_hue="blue")
111
  )
112
 
113
  # --- Launch the App ---
114
- if __name__ == "__main__":
115
- app.launch(debug=True)
 
 
111
  )
112
 
113
  # --- Launch the App ---
114
+ # REMOVED: The 'if __name__ == "__main__":' block.
115
+ # Hugging Face will run this file as a module and needs to find the 'app' object.
116
+ app.launch(debug=True)