Run the MedRAX Gradio interface
mainYou can start the production-ready Gradio interface by running main.py.
Important Configuration:
- Set the
model_dirinsidemain.pyto the directory where you want to store or access model weights. - Comment out any tools you do not have access to.
- Ensure your OpenAI API key is configured in a
.envfile.
If you encounter permission issues, use the following command:
# Start the Gradio interface
python main.py
# If you run into permission issues
sudo -E env "PATH=$PATH" python main.py