Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
|
4 |
import streamlit as st
|
5 |
from transformers import pipeline
|
|
|
6 |
|
7 |
# Initialize the BioGPT model using the Hugging Face pipeline
|
8 |
generator = pipeline("text-generation", model="microsoft/BioGPT")
|
|
|
3 |
|
4 |
import streamlit as st
|
5 |
from transformers import pipeline
|
6 |
+
import torch
|
7 |
|
8 |
# Initialize the BioGPT model using the Hugging Face pipeline
|
9 |
generator = pipeline("text-generation", model="microsoft/BioGPT")
|