ari7cr commited on
Commit
3ad9db3
·
verified ·
1 Parent(s): c330af3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -1,5 +1,6 @@
1
  import gradio as gr
2
  from transformers import pipeline
 
3
 
4
  # Load the physician and patient models via Hugging Face Model Hub
5
  physician = pipeline("text-generation", model="BioMistral/BioMistral-7B") # Replace with actual medical model
 
1
  import gradio as gr
2
  from transformers import pipeline
3
+ import torch
4
 
5
  # Load the physician and patient models via Hugging Face Model Hub
6
  physician = pipeline("text-generation", model="BioMistral/BioMistral-7B") # Replace with actual medical model