Spaces:
Sleeping
Sleeping
Commit ·
7020a02
1
Parent(s): da862d6
Update app.py
Browse files
app.py
CHANGED
|
@@ -38,8 +38,7 @@ def process_custom(input_text, schema_prompt):
|
|
| 38 |
chain = prompt | chat_model | output_parser
|
| 39 |
invocation_dict = {"input_text": input_text}
|
| 40 |
llm_response = chain.invoke(invocation_dict)
|
| 41 |
-
|
| 42 |
-
return pretty_json_string
|
| 43 |
|
| 44 |
|
| 45 |
chat_model = ChatOpenAI(temperature=0, model_name='gpt-3.5-turbo')
|
|
|
|
| 38 |
chain = prompt | chat_model | output_parser
|
| 39 |
invocation_dict = {"input_text": input_text}
|
| 40 |
llm_response = chain.invoke(invocation_dict)
|
| 41 |
+
return llm_response
|
|
|
|
| 42 |
|
| 43 |
|
| 44 |
chat_model = ChatOpenAI(temperature=0, model_name='gpt-3.5-turbo')
|