Vasundhhara commited on
Commit
5037288
1 Parent(s): 5715aea

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +22 -0
app.py ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+ import pandas as pd
3
+ import numpy as np
4
+ import requests
5
+
6
+
7
+
8
+
9
+ st.title('Hushh-emails')
10
+
11
+ st.write("Enter your query")
12
+ gmail_query= st.text_input("Query")
13
+
14
+ if st.button('Login to your google account'):
15
+
16
+ requests.get(url= "http://127.0.0.1:8000/login/google")
17
+ #requests.get(url="https://hushh-hushh-jobs.hf.space/login/google")
18
+
19
+ if st.button('Download resumes'):
20
+ requests.get(url=f"http://127.0.0.1:8000/download/google?q={gmail_query}")
21
+ #requests.get(url=f"https://hushh-hushh-jobs.hf.space/download/google?q={gmail_query}")
22
+