Upload app.py
Browse files
app.py
CHANGED
@@ -148,7 +148,7 @@ textbox = gr.Textbox(label='Question:') # Create a textbox for user input
|
|
148 |
|
149 |
# Create Gradio interface
|
150 |
# For the inputs parameter of Interface provide [textbox,company] with outputs parameter of Interface provide prediction
|
151 |
-
demo = gr.Interface(fn=llm_query, inputs=[textbox, company], outputs="text", title="Financial Analyst Assistant", description="Ask questions about the financial performance of AWS, Google, IBM, Meta, and Microsoft based on their 10-K reports.")
|
152 |
|
153 |
demo.queue()
|
154 |
demo.launch()
|
|
|
148 |
|
149 |
# Create Gradio interface
|
150 |
# For the inputs parameter of Interface provide [textbox,company] with outputs parameter of Interface provide prediction
|
151 |
+
demo = gr.Interface(fn=llm_query, inputs=[textbox, company], outputs="text", title="Financial Analyst Assistant", description="Ask questions about the financial performance of AWS, Google, IBM, Meta, and Microsoft based on their 10-K reports.\n\nPlease enter a question below.")
|
152 |
|
153 |
demo.queue()
|
154 |
demo.launch()
|