Spaces:
Running
on
L4
Running
on
L4
Update app.py
Browse files
app.py
CHANGED
@@ -104,7 +104,8 @@ def button_click(hf_model_id, conv_template, quantization, oauth_token: gr.OAuth
|
|
104 |
|
105 |
demo = gr.Interface(
|
106 |
fn=button_click,
|
107 |
-
inputs = [gr.
|
|
|
108 |
gr.Dropdown(CONV_TEMPLATES, label="Conversation Template"),
|
109 |
gr.Dropdown(QUANTIZATIONS, label="Quantization Method")],
|
110 |
outputs = "text"
|
|
|
104 |
|
105 |
demo = gr.Interface(
|
106 |
fn=button_click,
|
107 |
+
inputs = [gr.LoginButton(),
|
108 |
+
gr.Textbox(label="HF Model ID"),
|
109 |
gr.Dropdown(CONV_TEMPLATES, label="Conversation Template"),
|
110 |
gr.Dropdown(QUANTIZATIONS, label="Quantization Method")],
|
111 |
outputs = "text"
|