Spaces:
Runtime error
Runtime error
Luis Oala
commited on
Commit
·
d499041
1
Parent(s):
5fee423
Update app.py
Browse files
app.py
CHANGED
@@ -37,9 +37,8 @@ def inference(text, model):
|
|
37 |
|
38 |
gr.Interface(
|
39 |
inference,
|
40 |
-
[gr.inputs.Textbox(label="Input", placeholder="trustworthy artificial intelligence")]
|
41 |
-
#,gr.inputs.Dropdown(choices=["distilgpt2","gpt2-medium","gpt2-large","gpt2-xl"], type="value", default="gpt2-medium", label="model")
|
42 |
-
],
|
43 |
gr.outputs.Textbox(label="gpt-2 proposal"),
|
44 |
#title=title,
|
45 |
#description=description,
|
|
|
37 |
|
38 |
gr.Interface(
|
39 |
inference,
|
40 |
+
[gr.inputs.Textbox(label="Input", placeholder="trustworthy artificial intelligence")],
|
41 |
+
#,gr.inputs.Dropdown(choices=["distilgpt2","gpt2-medium","gpt2-large","gpt2-xl"], type="value", default="gpt2-medium", label="model")],
|
|
|
42 |
gr.outputs.Textbox(label="gpt-2 proposal"),
|
43 |
#title=title,
|
44 |
#description=description,
|