Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -103,11 +103,11 @@ demo = gr.Interface(
|
|
103 |
outputs = [gr.Textbox(label = "Completion", lines = 1)],
|
104 |
title = "Context-Aware Reasoning Application",
|
105 |
description = os.environ["DESCRIPTION"],
|
106 |
-
examples = [["", "What are GPT-4's media capabilities in 5 emojis and 1 sentence?",
|
107 |
-
["", "List GPT-4's exam scores and benchmark results.",
|
108 |
-
["", "Compare GPT-4 to GPT-3.5 in markdown table format.",
|
109 |
-
["", "Write a Python program that calls the GPT-4 API.",
|
110 |
-
["", "What is the GPT-4 API's cost and rate limit? Answer in English, Arabic, Chinese, Hindi, and Russian in JSON format.",
|
111 |
cache_examples = False
|
112 |
)
|
113 |
|
|
|
103 |
outputs = [gr.Textbox(label = "Completion", lines = 1)],
|
104 |
title = "Context-Aware Reasoning Application",
|
105 |
description = os.environ["DESCRIPTION"],
|
106 |
+
examples = [["", "What are GPT-4's media capabilities in 5 emojis and 1 sentence?", RAG_LLAMAINDEX],
|
107 |
+
["", "List GPT-4's exam scores and benchmark results.", RAG_LANGCHAIN],
|
108 |
+
["", "Compare GPT-4 to GPT-3.5 in markdown table format.", RAG_LLAMAINDEX],
|
109 |
+
["", "Write a Python program that calls the GPT-4 API.", RAG_LANGCHAIN],
|
110 |
+
["", "What is the GPT-4 API's cost and rate limit? Answer in English, Arabic, Chinese, Hindi, and Russian in JSON format.", RAG_LLAMAINDEX]],
|
111 |
cache_examples = False
|
112 |
)
|
113 |
|