Spaces:
Runtime error
Runtime error
import gradio as gr | |
from utils import get_answer | |
title = "Ask tax bot a Question" | |
description = """ | |
Introducing Tax Bot, a sophisticated chatbot powered by Langchain and the advanced Huggingface Zephyr-7b-beta model. Specialized in Indian tax laws, Tax Bot is ready to answer your queries. Don’t hesitate, ask Tax Bot anything about Indian tax laws! | |
<img src="https://github.com/pratikroy311/TAXBot/blob/main/bot_image.jpeg?raw=true" width=200px> | |
""" | |
article = "Article coming soon" | |
gr.Interface( | |
fn=get_answer, | |
inputs="textbox", | |
outputs="text", | |
title=title, | |
description=description, | |
article=article, | |
examples=[ | |
["My mother acquired a plot of land 12 years ago for 8 lakhs. Presently, she intends to sell it for 33 lakhs to purchase a flat. The government’s assigned circle rate for this land stands at 17 lakhs.To prevent overpayment of stamp duty during registration, we’ll register the sale at the circle rate. Now, how can we handle the remaining amount above the circle rate? Can we manage it through cash or online transactions? Moreover, what are the best methods to minimize tax liabilities in this scenario?Also, will my mother need to file her Income Tax Return (ITR) due to this transaction?"], | |
["What are the income tax rules for a salaried employee having salary less than 10 lakhs?"]], | |
).launch() |