Zain4s commited on
Commit
aac08f8
·
verified ·
1 Parent(s): 2c632c2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -1,3 +1,5 @@
 
 
1
  import transformers
2
  from transformers import GPT2LMHeadModel, GPT2Tokenizer, GenerationConfig
3
  import streamlit as st
@@ -7,8 +9,8 @@ st.markdown(
7
  """
8
  <style>
9
  .title-input textarea {
10
- height: 100px; /* Adjust the height as needed */
11
- padding-top: 20px; /* Adjust the padding as needed */
12
  }
13
  </style>
14
  """,
 
1
+ # Run app again with same input if model gives repeating output.
2
+
3
  import transformers
4
  from transformers import GPT2LMHeadModel, GPT2Tokenizer, GenerationConfig
5
  import streamlit as st
 
9
  """
10
  <style>
11
  .title-input textarea {
12
+ height: 100px;
13
+ padding-top: 20px;
14
  }
15
  </style>
16
  """,