Ankan Ghosh
commited on
Commit
·
21ced10
1
Parent(s):
1168087
Update app.py
Browse files
app.py
CHANGED
|
@@ -260,7 +260,7 @@ examples_list = [
|
|
| 260 |
["How to play Chess? Provide detailed steps."],
|
| 261 |
["If it takes 10 hours to dry 10 clothes, assuming all the clothes are hung together at the same time for drying , then how long will it take to dry a cloth?"],
|
| 262 |
["is infinity + 1 bigger than infinity?"],
|
| 263 |
-
["Explain the plot of Oppenheimer in a sentence."],
|
| 264 |
["How long does it take to become proficient in French, and what are the best methods for retaining information?"],
|
| 265 |
["What are some common mistakes to avoid when writing code?"],
|
| 266 |
["Build a prompt to generate a beautiful portrait of a horse"],
|
|
@@ -278,15 +278,13 @@ with gr.Blocks(
|
|
| 278 |
css=css,
|
| 279 |
) as block:
|
| 280 |
# buff_var = gr.State("")
|
| 281 |
-
with gr.Accordion("LlamaGPT
|
| 282 |
-
|
| 283 |
-
# """<center><a href="https://huggingface.co/spaces/mikeee/mpt-30b-chat?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate"></a> and spin a CPU UPGRADE to avoid the queue</center>"""
|
| 284 |
-
# )
|
| 285 |
gr.Markdown(
|
| 286 |
-
f"""<
|
| 287 |
-
|
| 288 |
-
|
| 289 |
-
|
| 290 |
elem_classes="xsmall",
|
| 291 |
)
|
| 292 |
|
|
|
|
| 260 |
["How to play Chess? Provide detailed steps."],
|
| 261 |
["If it takes 10 hours to dry 10 clothes, assuming all the clothes are hung together at the same time for drying , then how long will it take to dry a cloth?"],
|
| 262 |
["is infinity + 1 bigger than infinity?"],
|
| 263 |
+
["Explain the plot of Oppenheimer 2023 movie in a sentence."],
|
| 264 |
["How long does it take to become proficient in French, and what are the best methods for retaining information?"],
|
| 265 |
["What are some common mistakes to avoid when writing code?"],
|
| 266 |
["Build a prompt to generate a beautiful portrait of a horse"],
|
|
|
|
| 278 |
css=css,
|
| 279 |
) as block:
|
| 280 |
# buff_var = gr.State("")
|
| 281 |
+
with gr.Accordion("LlamaGPT🧠", open=False, style={"text-align": "center", "font-weight": "bold"}):
|
| 282 |
+
|
|
|
|
|
|
|
| 283 |
gr.Markdown(
|
| 284 |
+
f"""<div style="text-align: center;">
|
| 285 |
+
<h5>Gradio Demo for Meta's Llama 2 7B-chat</h5><br>
|
| 286 |
+
Few examples are there as prompts to test the model. You probably should try on your own related prompts to test the bot.
|
| 287 |
+
</div>""",
|
| 288 |
elem_classes="xsmall",
|
| 289 |
)
|
| 290 |
|