Ilvir commited on
Commit
8188c2f
·
1 Parent(s): 3ed99c2

Update pages/gpt.py

Browse files
Files changed (1) hide show
  1. pages/gpt.py +1 -1
pages/gpt.py CHANGED
@@ -33,7 +33,7 @@ top_p = st.sidebar.slider('**Minimum total probability of top words:**', 0.4, 1.
33
  prompt = st.text_input('**Enter text 👇:**')
34
  if st.button('**Generate text**'):
35
  image_container = st.empty()
36
- image_container.image("pict/wait.png", caption="that's so long!!!", use_column_width=True)
37
  with torch.inference_mode():
38
  prompt = tokenizer.encode(prompt, return_tensors='pt')
39
  out = model.generate(
 
33
  prompt = st.text_input('**Enter text 👇:**')
34
  if st.button('**Generate text**'):
35
  image_container = st.empty()
36
+ image_container.image("pict/wait.jpeg", caption="that's so long!!!", use_column_width=True)
37
  with torch.inference_mode():
38
  prompt = tokenizer.encode(prompt, return_tensors='pt')
39
  out = model.generate(