sarim commited on
Commit
8f82834
·
1 Parent(s): 276a6e5
Files changed (2) hide show
  1. app.py +13 -0
  2. requirements.txt +10 -0
app.py ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import asyncio
2
+ import re
3
+ from pydantic_ai.result import ResultData, RunResult
4
+ import streamlit as st
5
+ from pydantic_ai import Agent,RunContext, Tool
6
+ from pydantic_ai.models.groq import GroqModel
7
+ import nest_asyncio
8
+ from pydantic_ai.messages import ModelMessage
9
+ import pdfplumber
10
+ import os
11
+ from dataclasses import dataclass
12
+
13
+ #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
requirements.txt ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ streamlit
2
+ streamlit_pdf_reader
3
+ pdfplumber
4
+ streamlit_pdf_viewer
5
+ pydantic_ai
6
+ nest_asyncio
7
+ torch==2.2.2
8
+ transformers==4.39.1
9
+ streamlit_pdf_viewer
10
+ #pydantic_ai.models.groq