Spaces:
Sleeping
Sleeping
Commit
·
e63867f
1
Parent(s):
e153b65
Added a Theme
Browse files- app.py +3 -1
- requirements.txt +1 -1
app.py
CHANGED
|
@@ -38,8 +38,10 @@ def handle_question(query):
|
|
| 38 |
return f"### My Insights :\n\n{answer.strip()}"
|
| 39 |
|
| 40 |
|
| 41 |
-
with gr.Blocks() as demo:
|
| 42 |
gr.Markdown("## Ask Questions from Your Uploaded Documents")
|
|
|
|
|
|
|
| 43 |
file_input = gr.File(label="Upload Your File", file_types=['.pdf', '.txt', '.docx', '.csv', '.json', '.pptx', '.xml', '.xlsx'], file_count='multiple')
|
| 44 |
|
| 45 |
process_btn = gr.Button("Process Document")
|
|
|
|
| 38 |
return f"### My Insights :\n\n{answer.strip()}"
|
| 39 |
|
| 40 |
|
| 41 |
+
with gr.Blocks(theme='NoCrypt/miku') as demo:
|
| 42 |
gr.Markdown("## Ask Questions from Your Uploaded Documents")
|
| 43 |
+
#gr.Image(value="bg.JPG", visible=True)
|
| 44 |
+
|
| 45 |
file_input = gr.File(label="Upload Your File", file_types=['.pdf', '.txt', '.docx', '.csv', '.json', '.pptx', '.xml', '.xlsx'], file_count='multiple')
|
| 46 |
|
| 47 |
process_btn = gr.Button("Process Document")
|
requirements.txt
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
gradio
|
| 2 |
-
pydantic==2.10.6
|
| 3 |
google-genai
|
| 4 |
langchain
|
| 5 |
langchain-community
|
|
|
|
| 1 |
gradio
|
| 2 |
+
pydantic==2.10.6 # Stable version as of now
|
| 3 |
google-genai
|
| 4 |
langchain
|
| 5 |
langchain-community
|