Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -176,7 +176,7 @@ with gr.Blocks(theme='gradio/monochrome', css=css) as demo:
|
|
| 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 |
|
| 181 |
if __name__ == "__main__":
|
| 182 |
demo.queue().launch()
|
|
|
|
| 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], api_name="convert-code")
|
| 180 |
|
| 181 |
if __name__ == "__main__":
|
| 182 |
demo.queue().launch()
|