llmahmad commited on
Commit
e2ccc4b
·
verified ·
1 Parent(s): e34a9a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1,4 +1,6 @@
1
  # Load the GPT-2 model and tokenizer
 
 
2
  import streamlit as st
3
  from transformers import GPT2LMHeadModel, GPT2Tokenizer
4
  import torch
 
1
  # Load the GPT-2 model and tokenizer
2
+ import os
3
+ os.system('pip install streamlit transformers torch')
4
  import streamlit as st
5
  from transformers import GPT2LMHeadModel, GPT2Tokenizer
6
  import torch