Weyaxi commited on
Commit
52101ad
1 Parent(s): 2e83d59

add title and descriptions

Browse files
Files changed (1) hide show
  1. app.py +22 -1
app.py CHANGED
@@ -188,6 +188,27 @@ def commit(hf_token, repo, pr_number=None, message="Adding Evaluation Results"):
188
  else:
189
  return e
190
 
191
- demo = gr.Interface(fn=commit, inputs=["text", "text"], outputs="text")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
192
 
193
  demo.launch()
 
188
  else:
189
  return e
190
 
191
+
192
+ gradio_title="🧐 Open LLM Leaderboard Results PR Opener"
193
+ gradio_desc= """🎯 This tool's aim is to provide [Open LLM Leaderboard](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard) results in the model card.
194
+
195
+ ## 💭 What Does This Tool Do:
196
+
197
+ - This tool adds the [Open LLM Leaderboard](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard) result of your model at the end of your model card.
198
+
199
+ - This tool also adds evaluation results as your model's metadata to showcase the evaluation results as a widget.
200
+
201
+ ## 🛠️ Backend
202
+
203
+ The leaderboard's backend mainly runs on the [Hugging Face Hub API](https://huggingface.co/docs/huggingface_hub/v0.5.1/en/package_reference/hf_api).
204
+
205
+ ## 🤝 Acknowledgements
206
+
207
+ - Special thanks to Clémentine Fourrier (clefourrier) for her help and contributions to the code.
208
+
209
+ - Special thanks to [Lucain Pouget (Wauplin)](https://huggingface.co/docs/huggingface_hub/v0.5.1/en/package_reference/hf_api) for assisting with the [Hugging Face Hub API](https://huggingface.co/docs/huggingface_hub/v0.5.1/en/package_reference/hf_api).
210
+ """
211
+
212
+ demo = gr.Interface(title=gradio_title, description=gradio_desc, fn=commit, inputs=["text", "text"], outputs="text")
213
 
214
  demo.launch()