Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -125,8 +125,19 @@ Example format:
|
|
125 |
"""
|
126 |
|
127 |
with gr.Blocks(theme='Nymbo/Alyx_Theme') as demo:
|
128 |
-
gr.Markdown("
|
129 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
130 |
|
131 |
with gr.Row():
|
132 |
api_key = gr.Textbox(label="API Key", type="password", placeholder="(Optional) Enter your API key here for more availability", visible=False)
|
@@ -145,4 +156,4 @@ with gr.Blocks(theme='Nymbo/Alyx_Theme') as demo:
|
|
145 |
|
146 |
msg.submit(generate, inputs=[msg, chatbot, model, system_prompt, thinking_budget, api_key], outputs=[chatbot, msg])
|
147 |
|
148 |
-
demo.launch(share=True, show_api=
|
|
|
125 |
"""
|
126 |
|
127 |
with gr.Blocks(theme='Nymbo/Alyx_Theme') as demo:
|
128 |
+
gr.Markdown("<h1 style='text-align: center;'>Llama3.1-Deep-Thought</h1>")
|
129 |
+
|
130 |
+
with gr.Row(equal_height=True):
|
131 |
+
with gr.Column(scale=1):
|
132 |
+
gr.Markdown("")
|
133 |
+
with gr.Column(scale=2):
|
134 |
+
gr.Image("https://cdn-uploads.huggingface.co/production/uploads/64740cf7485a7c8e1bd51ac9/N5FpchY48PfQhZcN3sVMx.jpeg",
|
135 |
+
show_label=False,
|
136 |
+
container=False)
|
137 |
+
with gr.Column(scale=1):
|
138 |
+
gr.Markdown("")
|
139 |
+
|
140 |
+
gr.Markdown("<p style='text-align: center; font-style: italic; font-size: 1.2em;'>Let's ponder...</p>")
|
141 |
|
142 |
with gr.Row():
|
143 |
api_key = gr.Textbox(label="API Key", type="password", placeholder="(Optional) Enter your API key here for more availability", visible=False)
|
|
|
156 |
|
157 |
msg.submit(generate, inputs=[msg, chatbot, model, system_prompt, thinking_budget, api_key], outputs=[chatbot, msg])
|
158 |
|
159 |
+
demo.launch(share=True, show_api=True)
|