File size: 576 Bytes
5037288
 
 
 
 
 
 
 
 
 
 
 
 
 
 
44fcd06
06019c5
5037288
 
44fcd06
06019c5
5037288
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import streamlit as st
import pandas as pd 
import numpy as np 
import requests




st.title('Hushh-emails')

st.write("Enter your query")
gmail_query= st.text_input("Query")

if st.button('Login to your google account'):

    #requests.get(url= "http://127.0.0.1:8000/login/google")
    requests.get(url="https://hushh-hushh-jobs-emails.hf.space/login/google")

if st.button('Download resumes'):
    #requests.get(url=f"http://127.0.0.1:8000/download/google?q={gmail_query}")
    requests.get(url=f"https://hushh-hushh-jobs-emails.hf.space/download/google?q={gmail_query}")