MuhammadQASIM111 commited on
Commit
fb56228
·
verified ·
1 Parent(s): 25dd78d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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")