Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -85,6 +85,8 @@ Keep this procedure in mind when answering other questions as well.
|
|
| 85 |
Be concise and factual in your answers unless asked for more details.
|
| 86 |
Base all of your answers on the data provided.
|
| 87 |
Double-check your answers, and if you don't know the answer, say that you don't know.
|
|
|
|
|
|
|
| 88 |
"""
|
| 89 |
|
| 90 |
# Create the QA chain
|
|
@@ -114,7 +116,8 @@ def gradio_interface(question: str) -> str:
|
|
| 114 |
iface = gr.Interface(
|
| 115 |
fn=gradio_interface,
|
| 116 |
inputs="text",
|
| 117 |
-
outputs="text",
|
|
|
|
| 118 |
title="📅 Summative Assessment Tracker",
|
| 119 |
description="I am here to help you schedule summative assessments for your students"
|
| 120 |
)
|
|
|
|
| 85 |
Be concise and factual in your answers unless asked for more details.
|
| 86 |
Base all of your answers on the data provided.
|
| 87 |
Double-check your answers, and if you don't know the answer, say that you don't know.
|
| 88 |
+
|
| 89 |
+
Use markdown for clarity
|
| 90 |
"""
|
| 91 |
|
| 92 |
# Create the QA chain
|
|
|
|
| 116 |
iface = gr.Interface(
|
| 117 |
fn=gradio_interface,
|
| 118 |
inputs="text",
|
| 119 |
+
#outputs="text",
|
| 120 |
+
outputs=gr.Markdown()
|
| 121 |
title="📅 Summative Assessment Tracker",
|
| 122 |
description="I am here to help you schedule summative assessments for your students"
|
| 123 |
)
|