Rams901 commited on
Commit
99f51ba
1 Parent(s): 635efe7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -7
app.py CHANGED
@@ -335,14 +335,7 @@ def qa_faqs(query, media):
335
  questions = [ t.strip() for (i, t) in enumerate(questions.split('\n\n')) if len(t) > 5][:5]
336
 
337
  return "\n\n".join(questions)
338
- examples = [
339
- ["Will Russia win the war in Ukraine?"],
340
 
341
- ]
342
-
343
- demo = gr.Interface(fn=qa_retrieve, title="cicero-qa-api",
344
- inputs=gr.inputs.Textbox(lines=5, label="what would you like to learn about?"),
345
- outputs="json",examples=examples)
346
 
347
  def parallel_greet_claude(batch, ):
348
 
 
335
  questions = [ t.strip() for (i, t) in enumerate(questions.split('\n\n')) if len(t) > 5][:5]
336
 
337
  return "\n\n".join(questions)
 
 
338
 
 
 
 
 
 
339
 
340
  def parallel_greet_claude(batch, ):
341