Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
import gradio as gr
|
2 |
from langchain.chat_models import init_chat_model
|
|
|
3 |
|
|
|
4 |
|
5 |
-
# def echo(message, history):
|
6 |
-
# return message
|
7 |
|
8 |
def groq_endpoint(message, history):
|
9 |
# Create a ChatGroq LLM on-the-fly, or reuse a global one.
|
|
|
1 |
import gradio as gr
|
2 |
from langchain.chat_models import init_chat_model
|
3 |
+
import os
|
4 |
|
5 |
+
key = os.getenv("groqdummy")
|
6 |
|
|
|
|
|
7 |
|
8 |
def groq_endpoint(message, history):
|
9 |
# Create a ChatGroq LLM on-the-fly, or reuse a global one.
|