wilwork commited on
Commit
b951b0b
·
verified ·
1 Parent(s): 3585ee9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -28,6 +28,10 @@ def get_relevance_score(query, paragraph):
28
  print(f"Calculated score: {score}")
29
  return round(score, 4)
30
 
 
 
 
 
31
  # Define Gradio interface
32
  interface = gr.Interface(
33
  fn=test_function,
 
28
  print(f"Calculated score: {score}")
29
  return round(score, 4)
30
 
31
+
32
+ def test_function(query, paragraph):
33
+ return f"Received query: {query}, paragraph: {paragraph}"
34
+
35
  # Define Gradio interface
36
  interface = gr.Interface(
37
  fn=test_function,