unclemusclez commited on
Commit
478cf2e
·
verified ·
1 Parent(s): addd66e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -146,11 +146,11 @@ css="""/* Custom CSS to allow scrolling */
146
  .gradio-container {overflow-y: auto;}
147
  """
148
  # Create Gradio interface
149
- with gr.Blocks(css=css) as demo:
150
- gr.LoginButton(min_width=250)
151
  gr.Markdown("You must be logged in to use Ollamafy.")
152
  gr.Markdown(ollama_pubkey.read().rstrip())
153
  ollama_pubkey.close()
 
154
 
155
  model_id = HuggingfaceHubSearch(
156
  label="Hub Model ID",
@@ -166,6 +166,7 @@ with gr.Blocks(css=css) as demo:
166
  filterable=False,
167
  visible=False
168
  )
 
169
  latest = gr.Checkbox(
170
  value=False,
171
  label="Latest",
 
146
  .gradio-container {overflow-y: auto;}
147
  """
148
  # Create Gradio interface
149
+ with gr.Blocks(css=css) as demo:
 
150
  gr.Markdown("You must be logged in to use Ollamafy.")
151
  gr.Markdown(ollama_pubkey.read().rstrip())
152
  ollama_pubkey.close()
153
+ gr.LoginButton(min_width=250)
154
 
155
  model_id = HuggingfaceHubSearch(
156
  label="Hub Model ID",
 
166
  filterable=False,
167
  visible=False
168
  )
169
+
170
  latest = gr.Checkbox(
171
  value=False,
172
  label="Latest",