wop commited on
Commit
8cc4952
1 Parent(s): 3131453

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ model_2_interface = gr.Interface(
24
  )
25
 
26
  def query(question, context, api_url, headers):
27
- if api_url = API_URL:
28
  payload = {"question": question, "context": context}
29
  else:
30
  paylaod = {"question": "what is the context of the question: "+question+" :"}
 
24
  )
25
 
26
  def query(question, context, api_url, headers):
27
+ if api_url == API_URL:
28
  payload = {"question": question, "context": context}
29
  else:
30
  paylaod = {"question": "what is the context of the question: "+question+" :"}