Spaces:
Sleeping
Sleeping
MefhigosetH
commited on
Commit
•
959dcae
1
Parent(s):
0c78e15
Actualizamos Gradio y habilitamos stream
Browse files
README.md
CHANGED
@@ -4,7 +4,7 @@ emoji: ⚡
|
|
4 |
colorFrom: purple
|
5 |
colorTo: gray
|
6 |
sdk: gradio
|
7 |
-
sdk_version: 4.
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: wtfpl
|
@@ -15,4 +15,4 @@ short_description: Respondo cualquier consulta sobre el mundo mágico!
|
|
15 |
Pregúntame lo que quieras sobre magia !
|
16 |
|
17 |
## Referencias
|
18 |
-
* https://
|
|
|
4 |
colorFrom: purple
|
5 |
colorTo: gray
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 4.44.1
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: wtfpl
|
|
|
15 |
Pregúntame lo que quieras sobre magia !
|
16 |
|
17 |
## Referencias
|
18 |
+
* https://python.langchain.com/api_reference/groq/chat_models/langchain_groq.chat_models.ChatGroq.html
|
app.py
CHANGED
@@ -40,7 +40,7 @@ def initLLM():
|
|
40 |
max_tokens=None,
|
41 |
timeout=None,
|
42 |
max_retries=2,
|
43 |
-
|
44 |
)
|
45 |
|
46 |
return llm
|
|
|
40 |
max_tokens=None,
|
41 |
timeout=None,
|
42 |
max_retries=2,
|
43 |
+
streaming=True
|
44 |
)
|
45 |
|
46 |
return llm
|