Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -521,7 +521,7 @@ Answer with this structure:
|
|
| 521 |
html_answer += "</ul></div>"
|
| 522 |
|
| 523 |
# Add a small note at the bottom
|
| 524 |
-
html_answer += f"<p class='model-info'><small>Generated using
|
| 525 |
|
| 526 |
return html_answer
|
| 527 |
|
|
@@ -628,7 +628,7 @@ with gr.Blocks(title="Archaeological Query Engine") as app:
|
|
| 628 |
|
| 629 |
# Add new tab for AI-generated answers using Groq API
|
| 630 |
with gr.TabItem("AI Answers (Groq API)"):
|
| 631 |
-
gr.Markdown("Ask questions about the dataset and get AI-generated answers using the Groq API with the
|
| 632 |
|
| 633 |
with gr.Row():
|
| 634 |
with gr.Column():
|
|
|
|
| 521 |
html_answer += "</ul></div>"
|
| 522 |
|
| 523 |
# Add a small note at the bottom
|
| 524 |
+
html_answer += f"<p class='model-info'><small>Generated using moonshotai/kimi-k2-instruct-0905 in {completion_time:.2f} seconds</small></p></div>"
|
| 525 |
|
| 526 |
return html_answer
|
| 527 |
|
|
|
|
| 628 |
|
| 629 |
# Add new tab for AI-generated answers using Groq API
|
| 630 |
with gr.TabItem("AI Answers (Groq API)"):
|
| 631 |
+
gr.Markdown("Ask questions about the dataset and get AI-generated answers using the Groq API with the moonshotai/kimi-k2-instruct-0905 model.")
|
| 632 |
|
| 633 |
with gr.Row():
|
| 634 |
with gr.Column():
|