Hi Gradio team,
I used Gradio in the past few days and I am absolutely impressed. This tool is absolutely amazing, and so I had to write a blog article about it. I’d be curious what you think about my words, and if you consider it worth pushing this project to Hugging Face Spaces. I am not sure, if I can run the ElasticSearch database there. What do you think?
Thank you for this awesome work, and keep it up.
Pinging @abidlabs here, thanks a lot for the love
I shared your blog here.
I talked to team at deepset and smaller examples like below one should work:
# In Colab / No Docker environments: Start Elasticsearch from source
! wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.9.2-linux-x86_64.tar.gz -q
! tar -xzf elasticsearch-7.9.2-linux-x86_64.tar.gz
! chown -R daemon:daemon elasticsearch-7.9.2
from subprocess import Popen, PIPE, STDOUT
es_server = Popen(
["elasticsearch-7.9.2/bin/elasticsearch"], stdout=PIPE, stderr=STDOUT, preexec_fn=lambda: os.setuid(1) # as daemon
# wait until ES has started
! sleep 30
You can put elastic search package in
packages.txt file in your Space (never tried this though)
We will be supporting docker containers soon in Spaces.
But do try and let us know if it works or not
Thank you so much! I will give this a try later, and let you know. Have a great Friday
Thank you one more time for your input. I just successfully deployed the tool to HF spaces:
The documentation is great, and, hence, it only took me a few minutes to figure it out.
A nice suggestion would be to add an example to the Space such that people will see a PDF and a question to ask to that PDF great work!
Thank you so much @merve . I just added some examples
were you able to use elastic search on space?
I tried the colab code but it didnt work.