fdaudens HF staff commited on
Commit
e935a75
·
verified ·
1 Parent(s): 2c6774f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -111,5 +111,5 @@ agent = CodeAgent(
111
  prompt_templates=prompt_templates
112
  )
113
  # Launch the Gradio interface
114
- if name == "main":
115
  GradioUI(agent).launch()
 
111
  prompt_templates=prompt_templates
112
  )
113
  # Launch the Gradio interface
114
+ if __name__ == "__main__":
115
  GradioUI(agent).launch()