jm12138 commited on
Commit
b4126e0
1 Parent(s): a7ae8c5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -11
app.py CHANGED
@@ -197,19 +197,16 @@ with block:
197
  task, text, min_dec_len, seq_len, topp, penalty_score], outputs=text_gen)
198
  btn.click(inference, inputs=[
199
  task, text, min_dec_len, seq_len, topp, penalty_score], outputs=text_gen)
 
 
 
 
 
 
 
 
200
  gr.HTML(
201
  """
202
- <div class="prompt">
203
- <p>
204
- There are more interesting models in PaddleHub, you can star <a href="https://github.com/PaddlePaddle/PaddleHub" style="text-decoration: underline;" target="_blank"> PaddleHub</a> to follow.
205
- </p>
206
- <p>
207
- Besides, you can use free GPU resourses in <a href="https://aistudio.baidu.com/aistudio/projectdetail/4462918", style="text-decoration: underline;" target="_blank"> aistudio </a> to enjoy more cases, have fun.
208
- </p>
209
- </div>
210
- <a href="https://github.com/PaddlePaddle/PaddleHub/stargazers">
211
- <img src="https://user-images.githubusercontent.com/22424850/187849103-074cb6d2-a9b4-49a1-b1f0-fc130049769f.png" alt="star Paddlehub" width="100%">
212
- </a>
213
  <div class="footer">
214
  <p>Model by <a href="https://github.com/PaddlePaddle/PaddleHub" style="text-decoration: underline;" target="_blank">PaddleHub</a> and <a href="https://wenxin.baidu.com" style="text-decoration: underline;" target="_blank">文心大模型</a> - Gradio Demo by 🤗 Hugging Face
215
  </p>
 
197
  task, text, min_dec_len, seq_len, topp, penalty_score], outputs=text_gen)
198
  btn.click(inference, inputs=[
199
  task, text, min_dec_len, seq_len, topp, penalty_score], outputs=text_gen)
200
+ gr.Markdown(
201
+ '''
202
+ ## More
203
+ * There are more interesting models in [PaddleHub](https://github.com/PaddlePaddle/PaddleHub), you can star [PaddleHub](https://github.com/PaddlePaddle/PaddleHub) to follow.
204
+ * Besides, you can use free GPU resourses in [AIStudio](https://aistudio.baidu.com/aistudio/projectdetail/4462918) to enjoy more cases, have fun.
205
+ [![](https://user-images.githubusercontent.com/22424850/187849103-074cb6d2-a9b4-49a1-b1f0-fc130049769f.png)](https://github.com/PaddlePaddle/PaddleHub/stargazers)
206
+ '''
207
+ )
208
  gr.HTML(
209
  """
 
 
 
 
 
 
 
 
 
 
 
210
  <div class="footer">
211
  <p>Model by <a href="https://github.com/PaddlePaddle/PaddleHub" style="text-decoration: underline;" target="_blank">PaddleHub</a> and <a href="https://wenxin.baidu.com" style="text-decoration: underline;" target="_blank">文心大模型</a> - Gradio Demo by 🤗 Hugging Face
212
  </p>