Spaces:
Runtime error
Runtime error
Luis Oala
commited on
Commit
·
c67f8c0
1
Parent(s):
bbdc525
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ def inference(text, seed):
|
|
38 |
|
39 |
gr.Interface(
|
40 |
inference,
|
41 |
-
[gr.inputs.Textbox(label="input", placeholder="trustworthy artificial intelligence"), gr.inputs.Number(label="seed")],
|
42 |
#,gr.inputs.Dropdown(choices=["distilgpt2","gpt2-medium","gpt2-large","gpt2-xl"], type="value", default="gpt2-medium", label="model")],
|
43 |
gr.outputs.Textbox(label="gpt-2 proposal"),
|
44 |
#title=title,
|
|
|
38 |
|
39 |
gr.Interface(
|
40 |
inference,
|
41 |
+
[gr.inputs.Textbox(label="input", placeholder="trustworthy artificial intelligence"), gr.inputs.Number(value=42, precision = 0, label="seed")],
|
42 |
#,gr.inputs.Dropdown(choices=["distilgpt2","gpt2-medium","gpt2-large","gpt2-xl"], type="value", default="gpt2-medium", label="model")],
|
43 |
gr.outputs.Textbox(label="gpt-2 proposal"),
|
44 |
#title=title,
|