Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -81,9 +81,10 @@ inputs = [
|
|
| 81 |
]
|
| 82 |
outputs = gr.Textbox(label="Result", show_copy_button=True)
|
| 83 |
|
| 84 |
-
def interface_function(input_text):
|
| 85 |
-
results = process_course(input_text)
|
| 86 |
-
|
|
|
|
| 87 |
|
| 88 |
# Create the Gradio interface with HTML-formatted output
|
| 89 |
iface = gr.Interface(
|
|
|
|
| 81 |
]
|
| 82 |
outputs = gr.Textbox(label="Result", show_copy_button=True)
|
| 83 |
|
| 84 |
+
def interface_function(input_text, zorgvrager="cliënt", zorgprofessional="begeleider"):
|
| 85 |
+
results = process_course(input_text, zorgvrager, zorgprofessional)
|
| 86 |
+
markdown_output = display_results(results) # Assuming display_results returns Markdown formatted string
|
| 87 |
+
return markdown_output
|
| 88 |
|
| 89 |
# Create the Gradio interface with HTML-formatted output
|
| 90 |
iface = gr.Interface(
|