Spaces:
Runtime error
Runtime error
NoNeuronsNoStress
commited on
Commit
•
4a07619
1
Parent(s):
3607e58
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ def my_inference_function(text,key: str):
|
|
13 |
|
14 |
gradio_interface = gradio.Interface(
|
15 |
fn = my_inference_function,
|
16 |
-
inputs = "text",
|
17 |
outputs = "text"
|
18 |
)
|
19 |
gradio_interface.launch()
|
|
|
13 |
|
14 |
gradio_interface = gradio.Interface(
|
15 |
fn = my_inference_function,
|
16 |
+
inputs = ["text","key"]
|
17 |
outputs = "text"
|
18 |
)
|
19 |
gradio_interface.launch()
|