nicholasKluge
commited on
Commit
•
f5fecda
1
Parent(s):
3a15b3f
Update app.py
Browse files
app.py
CHANGED
@@ -9,9 +9,9 @@ model = AutoModelForCausalLM.from_pretrained('nicholasKluge/Aira-Instruct-PT-124
|
|
9 |
import gradio as gr
|
10 |
|
11 |
|
12 |
-
with gr.Blocks() as demo:
|
13 |
-
gr.Markdown("""<h1><center>🔥Aira-PT Demo🤓🚀</h1></center>""")
|
14 |
-
chatbot = gr.Chatbot(label="Aira")
|
15 |
msg = gr.Textbox(label="Escreva uma pergunta para Aira", placeholder="Olá Aira, como vai você?")
|
16 |
with gr.Accordion("Parâmetros ⚙️", 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-PT Demo 🤓🚀</h1></center>""")
|
14 |
+
chatbot = gr.Chatbot(label="Aira").style(height=600)
|
15 |
msg = gr.Textbox(label="Escreva uma pergunta para Aira", placeholder="Olá Aira, como vai você?")
|
16 |
with gr.Accordion("Parâmetros ⚙️", open=True):
|
17 |
top_k = gr.Slider( minimum=10, maximum=100, value=50, step=5, interactive=True, label="Top-k",)
|