Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|