Update app.py
Browse files
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:
|