Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -152,7 +152,7 @@ with gr.Blocks(theme = gr.themes.Soft()) as demo:
|
|
152 |
def ask_llm(prompt, llm_model_picked = 'mistralai/Mistral-7B-Instruct-v0.2', stream_outputs = False):
|
153 |
model_disabled_text = "LLM Model is disabled"
|
154 |
output = ""
|
155 |
-
|
156 |
if llm_model_picked == 'None':
|
157 |
if stream_outputs:
|
158 |
for out in model_disabled_text:
|
|
|
152 |
def ask_llm(prompt, llm_model_picked = 'mistralai/Mistral-7B-Instruct-v0.2', stream_outputs = False):
|
153 |
model_disabled_text = "LLM Model is disabled"
|
154 |
output = ""
|
155 |
+
print(prompt)
|
156 |
if llm_model_picked == 'None':
|
157 |
if stream_outputs:
|
158 |
for out in model_disabled_text:
|