Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ def inference(inputtext, model):
|
|
24 |
|
25 |
gr.Interface(
|
26 |
inference,
|
27 |
-
[gr.inputs.Textbox(label="Context",lines=10),gr.inputs.Dropdown(choices=["openai-gpt"
|
28 |
[gr.outputs.Textbox(label="Output")],
|
29 |
examples=examples,
|
30 |
article=article,
|
|
|
24 |
|
25 |
gr.Interface(
|
26 |
inference,
|
27 |
+
[gr.inputs.Textbox(label="Context",lines=10),gr.inputs.Dropdown(choices=["openai-gpt"], type="value", default="openai-gpt", label="model")],
|
28 |
[gr.outputs.Textbox(label="Output")],
|
29 |
examples=examples,
|
30 |
article=article,
|