bstraehle commited on
Commit
e99e5be
1 Parent(s): e61c6b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -83,7 +83,8 @@ def invoke(openai_api_key, prompt, rag_option):
83
  callback,
84
  err_msg,
85
  start_time_ms,
86
- end_time_ms)
 
87
 
88
  return result
89
 
@@ -102,6 +103,7 @@ demo = gr.Interface(
102
  ["", "Compare GPT-4 to GPT-3.5 in markdown table format.", RAG_LANGCHAIN],
103
  ["", "Write a Python program that calls the GPT-4 API.", RAG_LLAMAINDEX],
104
  ["", "What is the GPT-4 API's cost and rate limit? Answer in English, Arabic, Chinese, Hindi, and Russian in JSON format.", RAG_LANGCHAIN]],
105
- cache_examples = False)
 
106
 
107
  demo.launch()
 
83
  callback,
84
  err_msg,
85
  start_time_ms,
86
+ end_time_ms
87
+ )
88
 
89
  return result
90
 
 
103
  ["", "Compare GPT-4 to GPT-3.5 in markdown table format.", RAG_LANGCHAIN],
104
  ["", "Write a Python program that calls the GPT-4 API.", RAG_LLAMAINDEX],
105
  ["", "What is the GPT-4 API's cost and rate limit? Answer in English, Arabic, Chinese, Hindi, and Russian in JSON format.", RAG_LANGCHAIN]],
106
+ cache_examples = False
107
+ )
108
 
109
  demo.launch()