zRzRzRzRzRzRzR commited on
Commit
5412729
β€’
1 Parent(s): 8b7b2e1

changed warning html

Browse files
Files changed (1) hide show
  1. app.py +7 -9
app.py CHANGED
@@ -81,19 +81,17 @@ with gr.Blocks() as demo:
81
  <a href="https://github.com/THUDM/LongWriter">🌐 Github</a> |
82
  <a href="https://arxiv.org/pdf/2408.07055">πŸ“œ arxiv </a>
83
  </div>
 
 
 
 
 
 
84
  <div style="text-align: center; font-size: 15px; font-weight: bold; margin-bottom: 20px; line-height: 1.5;">
85
- <div style="color: black;">
86
- ⚠️ Due to the limitations of Huggingface ZERO GPUs, in order to output 5K characters in one go,
87
- we need to request a 4-5 minute quota each time.
88
- This will result in you only being able to use it once every 4 hours.
89
- </div>
90
- <br>
91
- <div style="color: red;">
92
  ⚠️ After 4-5 minutes, it will result in a timeout error, regardless of whether the output is complete.
93
  This is not caused by the model.<br>
94
  If you plan to use it long-term, please consider deploying the model or forking this space yourself.
95
- </div>
96
- </div>
97
  """
98
  )
99
  chatbot = gr.Chatbot()
 
81
  <a href="https://github.com/THUDM/LongWriter">🌐 Github</a> |
82
  <a href="https://arxiv.org/pdf/2408.07055">πŸ“œ arxiv </a>
83
  </div>
84
+ <div style="text-align: center; font-size: 15px; font-weight: black; margin-bottom: 20px; line-height: 1.5;">
85
+ ⚠️ Due to the limitations of Huggingface ZERO GPUs, in order to output 5K characters in one go,
86
+ we need to request a 4-5 minute quota each time.
87
+ This will result in you only being able to use it once every 4 hours.
88
+ </div>
89
+ <br>
90
  <div style="text-align: center; font-size: 15px; font-weight: bold; margin-bottom: 20px; line-height: 1.5;">
 
 
 
 
 
 
 
91
  ⚠️ After 4-5 minutes, it will result in a timeout error, regardless of whether the output is complete.
92
  This is not caused by the model.<br>
93
  If you plan to use it long-term, please consider deploying the model or forking this space yourself.
94
+ </div>
 
95
  """
96
  )
97
  chatbot = gr.Chatbot()