Spaces:
Running
Running
nicholasKluge
commited on
Commit
•
d287f72
1
Parent(s):
b1abb7e
Update app.py
Browse files
app.py
CHANGED
@@ -9,9 +9,9 @@ model = AutoModelForCausalLM.from_pretrained('nicholasKluge/Aira-Instruct-124M',
|
|
9 |
import gradio as gr
|
10 |
|
11 |
|
12 |
-
with gr.Blocks() as demo:
|
13 |
gr.Markdown("""<h1><center>🔥Aira Demo 🤓🚀</h1></center>""")
|
14 |
-
chatbot = gr.Chatbot(label="Aira")
|
15 |
msg = gr.Textbox(label="Write a question or comment to Aira", placeholder="Hi Aira, how are you?")
|
16 |
with gr.Accordion("Parameters ⚙️", open=True):
|
17 |
top_k = gr.Slider( minimum=10, maximum=100, value=50, step=5, interactive=True, label="Top-k",)
|
|
|
9 |
import gradio as gr
|
10 |
|
11 |
|
12 |
+
with gr.Blocks(theme='freddyaboulton/dracula_revamped') as demo:
|
13 |
gr.Markdown("""<h1><center>🔥Aira Demo 🤓🚀</h1></center>""")
|
14 |
+
chatbot = gr.Chatbot(label="Aira").style(height=750)
|
15 |
msg = gr.Textbox(label="Write a question or comment to Aira", placeholder="Hi Aira, how are you?")
|
16 |
with gr.Accordion("Parameters ⚙️", open=True):
|
17 |
top_k = gr.Slider( minimum=10, maximum=100, value=50, step=5, interactive=True, label="Top-k",)
|