Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,5 +1,6 @@
|
|
| 1 |
|
| 2 |
import cohere
|
|
|
|
| 3 |
|
| 4 |
# initialize Cohere client
|
| 5 |
co = cohere.Client("CoHere_API_KEY")
|
|
@@ -26,7 +27,7 @@ summary = response.summary
|
|
| 26 |
print(summary)
|
| 27 |
|
| 28 |
import gradio as gr
|
| 29 |
-
co = cohere.Client("
|
| 30 |
|
| 31 |
|
| 32 |
def chat_summarizer(conversation):
|
|
|
|
| 1 |
|
| 2 |
import cohere
|
| 3 |
+
import os
|
| 4 |
|
| 5 |
# initialize Cohere client
|
| 6 |
co = cohere.Client("CoHere_API_KEY")
|
|
|
|
| 27 |
print(summary)
|
| 28 |
|
| 29 |
import gradio as gr
|
| 30 |
+
co = cohere.Client("CoHere_API_KEY")
|
| 31 |
|
| 32 |
|
| 33 |
def chat_summarizer(conversation):
|