unclemusclez commited on
Commit
85b9b71
·
verified ·
1 Parent(s): b158147

ollama username switch

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -165,9 +165,7 @@ with gr.Blocks(css=css) as demo:
165
  ["FP16", "Q3_K_S", "Q3_K_M", "Q3_K_L", "Q4_0", "Q4_1", "Q4_K_S", "Q4_K_M", "Q5_0", "Q5_1", "Q5_K_S", "Q5_K_M", "Q6_K", "Q8_0"],
166
  label="Ollama Quantization Method",
167
  info="Chose which quantization will created and exported to the Ollama Library",
168
- value="FP16",
169
- filterable=False,
170
- visible=False
171
  )
172
 
173
  latest = gr.Checkbox(
@@ -182,6 +180,10 @@ with gr.Blocks(css=css) as demo:
182
  info="This is your original repository on both Hugging Face and Ollama.
183
  DO NOT USE unless using the same USERNAME on both platforms."
184
  )
 
 
 
 
185
 
186
  iface = gr.Interface(
187
  fn=ollamafy_model,
 
165
  ["FP16", "Q3_K_S", "Q3_K_M", "Q3_K_L", "Q4_0", "Q4_1", "Q4_K_S", "Q4_K_M", "Q5_0", "Q5_1", "Q5_K_S", "Q5_K_M", "Q6_K", "Q8_0"],
166
  label="Ollama Quantization Method",
167
  info="Chose which quantization will created and exported to the Ollama Library",
168
+ value="FP16"
 
 
169
  )
170
 
171
  latest = gr.Checkbox(
 
180
  info="This is your original repository on both Hugging Face and Ollama.
181
  DO NOT USE unless using the same USERNAME on both platforms."
182
  )
183
+ ollama_username = gr.Textbox(
184
+ label="Ollama.com Library Username",
185
+ info="test",
186
+ )
187
 
188
  iface = gr.Interface(
189
  fn=ollamafy_model,