GerlandoRex commited on
Commit
5a2f1c7
·
1 Parent(s): e002287

add: package installation command

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -183,6 +183,10 @@ if __name__ == "__main__":
183
  try:
184
  # The main function to create the app is now synchronous.
185
  # Gradio handles the async calls within the chat logic.
 
 
 
 
186
  create_gradio_app()
187
  except KeyboardInterrupt:
188
  print("\nShutting down Gradio app.")
 
183
  try:
184
  # The main function to create the app is now synchronous.
185
  # Gradio handles the async calls within the chat logic.
186
+ import subprocess
187
+
188
+ subprocess.run(["pip", "install", "-e", "."])
189
+
190
  create_gradio_app()
191
  except KeyboardInterrupt:
192
  print("\nShutting down Gradio app.")