sandeepmhaske commited on
Commit
3da508a
·
verified ·
1 Parent(s): 056f594

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -30,8 +30,8 @@ def get_completion(prompt, model=llm_model):
30
  )
31
  return response.choices[0].message.content
32
 
33
- def greet(name):
34
- return get_completion(name)
35
 
36
  iface = gr.Interface(fn=greet, inputs="text", outputs="text")
37
  iface.launch()
 
30
  )
31
  return response.choices[0].message.content
32
 
33
+ def greet(Question):
34
+ return get_completion(Question)
35
 
36
  iface = gr.Interface(fn=greet, inputs="text", outputs="text")
37
  iface.launch()