AMKCode commited on
Commit
296c8d1
1 Parent(s): 3e2702a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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.Textbox(label="HF Model ID"),
 
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"