muhtasham commited on
Commit
8961a24
·
1 Parent(s): 4bf304b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ def calculator(num1, operation, num2):
32
  return num1 / num2
33
 
34
  def complete_with_gpt(text):
35
- interfaces = [gr.Interface.load(name) for name in name_list]
36
  return [interface(text) for interface in interfaces]
37
 
38
  def set_example(example: list) -> dict:
 
32
  return num1 / num2
33
 
34
  def complete_with_gpt(text):
35
+ interfaces = [gr.Interface.load(name, api_key = API_KEY) for name in name_list]
36
  return [interface(text) for interface in interfaces]
37
 
38
  def set_example(example: list) -> dict: