- This is a chatbot and multimodal model app built using the powerful models from Microsoft,
microsoft/Phi-3.5-mini-instruct
andmicrosoft/Phi-3.5-vision-instruct
. The app supports both chatbot and multimodal model functionalities, allowing you to interact with the models in different ways.
To deploy the app on Hugging Face, follow these steps:
- Upload the
app.py
andrequirements.txt
files to your Hugging Face space. - The app will be automatically deployed on Hugging Face.
You can access the deployed app at the following link: [Link to Hugging Face app]
To run the app locally, follow these steps:
- Clone the project repository.
- Install the required dependencies by running
pip install -r requirements.txt
. - Make sure you have a GPU available, as the app requires GPU for running the models.
- Remove the
import spaces
line and the@spaces.GPU()
decorator from the code. - Run the app by executing
python app.py
.
- Ensure that the spaces package is imported before any CUDA-related operations or imports
- Link to Hugging Face app
- Link to GitHub repository
- Link to microsoft/Phi-3.5-mini-instruct model
- Link to microsoft/Phi-3.5-vision-instruct model
A big thank you to Hugging Face for their easy deployment platform, Gradio for their SDK and themes, and Microsoft for their practical models.
- Pejman Ebrahimi, email:
pejman.ebrahimi77@gmail.com