zR commited on
Commit
8b7b2e1
1 Parent(s): 7e3e4fa

changed warning

Browse files
Files changed (1) hide show
  1. app.py +11 -6
app.py CHANGED
@@ -81,14 +81,19 @@ 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; color: red; margin-bottom: 20px;">
 
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.<br>
88
-
89
- ⚠️After 4-5 minute it will Error with time out, not matter if the output finish, this is not caused by model. <br>
90
- If you plan to use it long-term, please consider deploying the model or fork this space yourself.
91
- </div>
 
 
 
 
92
  """
93
  )
94
  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: 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()