Spaces:
Sleeping
Sleeping
Update app.py
Browse files360 unmodified lines361362363364365366367368369370371372373374375376360 unmodified linesformatted_response += f"{key.replace('_', ' ').title()}: {value:.4f}\n"return formatted_responseiface = gr.Interface(fn=chatbot_interface,theme='Rabbitt-AI/ChanceRAG',inputs=[gr.File(label="Upload a File"),gr.Textbox(lines=5, label="User Query"),gr.Dropdown(["Detailed", "Concise", "Creative", "Technical"], label="Retreival Style"),],outputs=gr.Textbox(label="ChanceRAG Response"),title="Chance RAG",)iface.launch(share=True)360 unmodified lines361362363364365366367368369370371372373374375376377378379380381360 unmodified linesformatted_response += f"{key.replace('_', ' ').title()}: {value:.4f}\n"return formatted_responseiface = gr.Blocks(theme="Rabbitt-AI/ChanceRAG")with iface:gr.Image("/content/chanceRAG_logo.png", label="Image", show_label = False)gr.Interface(fn=chatbot_interface,theme="Rabbitt-AI/ChanceRAG",inputs=[gr.File(label="Upload a File"),gr.Textbox(lines=5, label="User Query"),gr.Dropdown(["Detailed", "Concise", "Creative", "Technical"], label="Retreival Style"),],outputs=gr.Textbox(label="ChanceRAG Response"),)iface.launch(share=True)
app.py+10-5