Spaces:
Paused
Paused
Pclanglais
commited on
Commit
•
f8d7d6a
1
Parent(s):
30123a7
Update app.py
Browse files
app.py
CHANGED
@@ -171,10 +171,10 @@ additional_inputs=[
|
|
171 |
demo = gr.Blocks()
|
172 |
|
173 |
with gr.Blocks(theme='gradio/monochrome', css=css) as demo:
|
174 |
-
gr.HTML("""<h1 style="text-align:center">
|
175 |
text_input = gr.Textbox(label="Your question", type="text", lines=1)
|
176 |
context_input = gr.Textbox(label="Your context", type="text", lines=1)
|
177 |
-
text_button = gr.Button("Query
|
178 |
text_output = gr.HTML(label="Answer")
|
179 |
text_button.click(mistral_bot.predict, inputs=[text_input, context_input], outputs=[text_output])
|
180 |
|
|
|
171 |
demo = gr.Blocks()
|
172 |
|
173 |
with gr.Blocks(theme='gradio/monochrome', css=css) as demo:
|
174 |
+
gr.HTML("""<h1 style="text-align:center">InaguaLLM</h1>""")
|
175 |
text_input = gr.Textbox(label="Your question", type="text", lines=1)
|
176 |
context_input = gr.Textbox(label="Your context", type="text", lines=1)
|
177 |
+
text_button = gr.Button("Query InaguaLLM")
|
178 |
text_output = gr.HTML(label="Answer")
|
179 |
text_button.click(mistral_bot.predict, inputs=[text_input, context_input], outputs=[text_output])
|
180 |
|