Spaces:
Sleeping
Sleeping
Gourisankar Padihary
commited on
Commit
·
3ef91a8
1
Parent(s):
c4581cc
Update
Browse files- app.py +1 -1
- generator/initialize_llm.py +2 -2
app.py
CHANGED
|
@@ -178,4 +178,4 @@ def launch_gradio(config : AppConfig):
|
|
| 178 |
# Set button click to trigger log updates
|
| 179 |
start_log_button.click(fn=get_logs, outputs=log_section)
|
| 180 |
|
| 181 |
-
interface.launch(
|
|
|
|
| 178 |
# Set button click to trigger log updates
|
| 179 |
start_log_button.click(fn=get_logs, outputs=log_section)
|
| 180 |
|
| 181 |
+
interface.launch()
|
generator/initialize_llm.py
CHANGED
|
@@ -3,7 +3,7 @@ import os
|
|
| 3 |
from langchain_groq import ChatGroq
|
| 4 |
|
| 5 |
def initialize_generation_llm(input_model_name):
|
| 6 |
-
os.environ["GROQ_API_KEY"] = "
|
| 7 |
|
| 8 |
model_name = input_model_name
|
| 9 |
llm = ChatGroq(model=model_name, temperature=0.7)
|
|
@@ -13,7 +13,7 @@ def initialize_generation_llm(input_model_name):
|
|
| 13 |
return llm
|
| 14 |
|
| 15 |
def initialize_validation_llm(input_model_name):
|
| 16 |
-
os.environ["GROQ_API_KEY"] = "
|
| 17 |
|
| 18 |
model_name = input_model_name
|
| 19 |
llm = ChatGroq(model=model_name, temperature=0.7)
|
|
|
|
| 3 |
from langchain_groq import ChatGroq
|
| 4 |
|
| 5 |
def initialize_generation_llm(input_model_name):
|
| 6 |
+
os.environ["GROQ_API_KEY"] = ""
|
| 7 |
|
| 8 |
model_name = input_model_name
|
| 9 |
llm = ChatGroq(model=model_name, temperature=0.7)
|
|
|
|
| 13 |
return llm
|
| 14 |
|
| 15 |
def initialize_validation_llm(input_model_name):
|
| 16 |
+
os.environ["GROQ_API_KEY"] = ""
|
| 17 |
|
| 18 |
model_name = input_model_name
|
| 19 |
llm = ChatGroq(model=model_name, temperature=0.7)
|