Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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",
|