Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
·
8d66da1
1
Parent(s):
a82049a
Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ def inference(text, model):
|
|
33 |
|
34 |
gr.Interface(
|
35 |
inference,
|
36 |
-
[gr.inputs.Textbox(
|
37 |
],
|
38 |
gr.outputs.Textbox(label="Output"),
|
39 |
examples=examples).launch(debug=True)
|
|
|
33 |
|
34 |
gr.Interface(
|
35 |
inference,
|
36 |
+
[gr.inputs.Textbox(label="Input"),gr.inputs.Dropdown(choices=["gpt2-large","gpt2-medium","gpt2-xl"], type="value", default="gpt2-medium", label="model")
|
37 |
],
|
38 |
gr.outputs.Textbox(label="Output"),
|
39 |
examples=examples).launch(debug=True)
|