Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
MarziehFadaee
commited on
Commit
•
c3b735b
1
Parent(s):
c66beaa
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import uuid
|
|
6 |
|
7 |
|
8 |
cohere_api_key = os.getenv("COHERE_API_KEY")
|
9 |
-
co = cohere.Client(cohere_api_key)
|
10 |
|
11 |
|
12 |
def trigger_example(example):
|
@@ -60,7 +60,8 @@ examples = [
|
|
60 |
"What is the memory cost in a typical implementation of an all-gather operation?",
|
61 |
"Give me a brief history of the golden era of Cantopop.",
|
62 |
"Descrivi il processo di creazione di un capolavoro, come se fossi un artista del Rinascimento a Firenze.",
|
63 |
-
"Explique-moi le sens de la vie selon un grand auteur littéraire."
|
|
|
64 |
]
|
65 |
|
66 |
custom_css = """
|
|
|
6 |
|
7 |
|
8 |
cohere_api_key = os.getenv("COHERE_API_KEY")
|
9 |
+
co = cohere.Client(cohere_api_key, client_name="huggingface-rp")
|
10 |
|
11 |
|
12 |
def trigger_example(example):
|
|
|
60 |
"What is the memory cost in a typical implementation of an all-gather operation?",
|
61 |
"Give me a brief history of the golden era of Cantopop.",
|
62 |
"Descrivi il processo di creazione di un capolavoro, come se fossi un artista del Rinascimento a Firenze.",
|
63 |
+
"Explique-moi le sens de la vie selon un grand auteur littéraire.",
|
64 |
+
"Give me an example of an endangered species and let me know what I can do to help preserve it"
|
65 |
]
|
66 |
|
67 |
custom_css = """
|