Felix Marty
commited on
Commit
·
cb73b3c
1
Parent(s):
bf7786d
textbox
Browse files
app.py
CHANGED
@@ -84,9 +84,9 @@ with gr.Blocks() as demo:
|
|
84 |
gr.Markdown(DESCRIPTION)
|
85 |
|
86 |
with gr.Row():
|
87 |
-
input_token = gr.
|
88 |
-
input_model = gr.
|
89 |
-
input_task = gr.
|
90 |
output = gr.Markdown(label="Output")
|
91 |
|
92 |
btn = gr.Button("Convert to ONNX")
|
|
|
84 |
gr.Markdown(DESCRIPTION)
|
85 |
|
86 |
with gr.Row():
|
87 |
+
input_token = gr.Textbox(max_lines=1, label="Hugging Face token"),
|
88 |
+
input_model = gr.Textbox(max_lines=1, label="Model name", placeholder="textattack/distilbert-base-cased-CoLA"),
|
89 |
+
input_task = gr.Textbox(value="auto", max_lines=1, label="Task (can be left blank, will be automatically inferred)")
|
90 |
output = gr.Markdown(label="Output")
|
91 |
|
92 |
btn = gr.Button("Convert to ONNX")
|