[go: up one dir, main page]

Announcement: deadline to submit demos was extended to July 24th!\n EuroPython 2022\n

EuroPython Dublin, You're invited!

\n

\nWelcome to the 21st EuroPython. We're the oldest and longest running volunteer-led Python programming conference on the planet! Join us in July in the beautiful and vibrant city of Dublin. We'll be together, face to face and online, to celebrate our shared passion for Python and its community!

\n\nHugging Face Gradio Hackathon 🤗 \n

\nCome Join us from July 13th to 24th for a Hackathon in person and online using Gradio and Hugging Face to build and host Machine Learning demos. Find tutorial on getting started with Gradio on Hugging Face here and to get started with the new Gradio Blocks API here. Once the gradio demo is setup, see how to add it to Hugging Face Spaces here. Come see the talk on How to craft awesome Machine Learning demos with Python in Liffey Hall 2 on 13 July 2022 at 14:00 by Omar Sanseviero

\n\nSprint July 16 and 17\n
    \n
  • Number of people: 3 maintainers + anyone willing to join\n
  • \n
  • Build Machine Learning demos. You can also join if you don't know much about ML!
  • \n
  • Liffey Hall 2
  • \n
  • Python Level: any
  • \n
\n\nJoin organization by clicking here\n\n\"Europython\n\nPotential ideas for creating spaces: \n \n \nHugging Face Prizes\n\n\nLeaderBoard for Most Popular EuroPython Spaces\n

See the EuroPython Leaderboard

\n Hugging Face Spaces & Gradio for Showcasing your EuroPython ‘22 Demo \n\n

\n In this tutorial, we will demonstrate how to showcase your demo with an easy to use web interface using the Gradio Python library and host it on Hugging Face Spaces so that conference attendees can easily find and try out your demos. Also, see https://gradio.app/introduction_to_blocks/, for a more flexible way to build Gradio Demos\n

\n 🚀 Create a Gradio Demo from your Model\n\n

\nThe first step is to create a web demo from your model. As an example, we will be creating a demo from an image classification model (called model) which we will be uploading to Spaces. The full code for steps 1-4 can be found in this colab notebook.\n


\n\n1. Install the gradio library\n\n

\nAll you need to do is to run this in the terminal: pip install gradio\n

\n
\n2. Define a function in your Python code that performs inference with your model on a data point and returns the prediction\n\n

\nHere’s we define our image classification model prediction function in PyTorch (any framework, like TensorFlow, scikit-learn, JAX, or a plain Python will work as well):\n

\n\ndef predict(inp):\n\n        inp = Image.fromarray(inp.astype('uint8'), 'RGB')\n      \n        inp = transforms.ToTensor()(inp).unsqueeze(0)\n      \n        with torch.no_grad():\n\n          prediction = torch.nn.functional.softmax(model(inp)[0], dim=0)\n\n        return {labels[i]: float(prediction[i]) for i in range(1000)}\n\n
\n

\n\n3. Then create a Gradio Interface using the function and the appropriate input and output types\n\n

\nFor the image classification model from Step 2, it would like like this:\n

\n
\n\ninputs = gr.inputs.Image()\n\noutputs = gr.outputs.Label(num_top_classes=3)\n\nio = gr.Interface(fn=predict, inputs=inputs, outputs=outputs)\n\n
\n

\nIf you need help creating a Gradio Interface for your model, check out the Gradio Getting Started guide.\n

\n\n4. Then launch() you Interface to confirm that it runs correctly locally (or wherever you are running Python)\n\n
\n\nio.launch() \n\n
\n

\nYou should see a web interface like the following where you can drag and drop your data points and see the predictions:\n

\n\"Gradio\n
\n\n\n\n\n\n\n\n","html":"
\n Announcement: deadline to submit demos was extended to July 24th!\n EuroPython 2022\n

EuroPython Dublin, You're invited!

\n

\nWelcome to the 21st EuroPython. We're the oldest and longest running volunteer-led Python programming conference on the planet! Join us in July in the beautiful and vibrant city of Dublin. We'll be together, face to face and online, to celebrate our shared passion for Python and its community!

\n\nHugging Face Gradio Hackathon 🤗 \n

\nCome Join us from July 13th to 24th for a Hackathon in person and online using Gradio and Hugging Face to build and host Machine Learning demos. Find tutorial on getting started with Gradio on Hugging Face here and to get started with the new Gradio Blocks API here. Once the gradio demo is setup, see how to add it to Hugging Face Spaces here. Come see the talk on How to craft awesome Machine Learning demos with Python in Liffey Hall 2 on 13 July 2022 at 14:00 by Omar Sanseviero

\n\nSprint July 16 and 17\n
    \n
  • Number of people: 3 maintainers + anyone willing to join\n
  • \n
  • Build Machine Learning demos. You can also join if you don't know much about ML!
  • \n
  • Liffey Hall 2
  • \n
  • Python Level: any
  • \n
\n\nJoin organization by clicking here\n\n\"Europython\n\nPotential ideas for creating spaces: \n \n \nHugging Face Prizes\n\n\nLeaderBoard for Most Popular EuroPython Spaces\n

See the EuroPython Leaderboard

\n Hugging Face Spaces & Gradio for Showcasing your EuroPython ‘22 Demo \n\n

\n In this tutorial, we will demonstrate how to showcase your demo with an easy to use web interface using the Gradio Python library and host it on Hugging Face Spaces so that conference attendees can easily find and try out your demos. Also, see https://gradio.app/introduction_to_blocks/, for a more flexible way to build Gradio Demos\n

\n 🚀 Create a Gradio Demo from your Model\n\n

\nThe first step is to create a web demo from your model. As an example, we will be creating a demo from an image classification model (called model) which we will be uploading to Spaces. The full code for steps 1-4 can be found in this colab notebook.\n


\n\n1. Install the gradio library\n\n

\nAll you need to do is to run this in the terminal: pip install gradio\n

\n
\n2. Define a function in your Python code that performs inference with your model on a data point and returns the prediction\n\n

\nHere’s we define our image classification model prediction function in PyTorch (any framework, like TensorFlow, scikit-learn, JAX, or a plain Python will work as well):\n

\ndef predict(inp):\n\n
    inp = Image.fromarray(inp.astype('uint8'), 'RGB')\n  \n    inp = transforms.ToTensor()(inp).unsqueeze(0)\n  \n    with torch.no_grad():\n\n      prediction = torch.nn.functional.softmax(model(inp)[0], dim=0)\n\n    return {labels[i]: float(prediction[i]) for i in range(1000)}\n
\n
\n
\n

\n\n3. Then create a Gradio Interface using the function and the appropriate input and output types\n\n

\nFor the image classification model from Step 2, it would like like this:\n

\n
\ninputs = gr.inputs.Image()\n\n

outputs = gr.outputs.Label(num_top_classes=3)

\n

io = gr.Interface(fn=predict, inputs=inputs, outputs=outputs)\n\n

\n

\nIf you need help creating a Gradio Interface for your model, check out the Gradio Getting Started guide.\n

\n\n4. Then launch() you Interface to confirm that it runs correctly locally (or wherever you are running Python)\n\n
\nio.launch() \n\n
\n

\nYou should see a web interface like the following where you can drag and drop your data points and see the predictions:\n

\n\"Gradio\n
\n\n\n\n\n\n\n\n","classNames":"hf-sanitized hf-sanitized-CUsfMGczrY8d0NyPJPipY"},"users":[{"_id":"5dfb412cda6d0311fd3d5437","avatarUrl":"/avatars/b7783c2c66480613a4c46abafb25eae7.svg","isPro":false,"fullname":"Gaurish Thakkar","user":"thak123","type":"user"},{"_id":"5e4318d616b09a31220980d6","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/5e4318d616b09a31220980d6/24rMJ_vPh3gW9ZEmj64xr.png","isPro":true,"fullname":"Manuel Romero","user":"mrm8488","type":"user"},{"_id":"5f069f955d08220171a0ae45","avatarUrl":"/avatars/dc6fead43f2132f32dc97827575861a0.svg","isPro":false,"fullname":"Matan Sela","user":"matansel","type":"user"},{"_id":"5f17100c925b9863e28ad446","avatarUrl":"/avatars/d0e0a50ee523e60b848ba23010fedc38.svg","isPro":false,"fullname":"Ben Trevett","user":"bentrevett","type":"user"},{"_id":"5fbfd09ee366524fe8e97cd3","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/1606406298765-noauth.jpeg","isPro":false,"fullname":"Albert Villanova del Moral","user":"albertvillanova","type":"user"},{"_id":"5fc8aa687d4f24ac55827003","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/1672874639710-5fc8aa687d4f24ac55827003.jpeg","isPro":false,"fullname":"Joseph Mwatukange","user":"jpandeinge","type":"user"},{"_id":"5fcaabed246881afd5b00167","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/1651847561574-5fcaabed246881afd5b00167.jpeg","isPro":false,"fullname":"Muhtasham Oblokulov","user":"muhtasham","type":"user"},{"_id":"5fdb370bb30b82f3091676e9","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/5fdb370bb30b82f3091676e9/RoNbayhN7JQbxU1V9vl-d.jpeg","isPro":false,"fullname":"Sparanoid","user":"sparanoid","type":"user"},{"_id":"5fe4b655f19fa83392c0ffeb","avatarUrl":"/avatars/3623ed4f2ccaa33c4cf827a6bf219d5f.svg","isPro":false,"fullname":"Valentin Knappich","user":"ValeKnappich","type":"user"},{"_id":"6032802e1f993496bc14d9e3","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/6032802e1f993496bc14d9e3/w6hr-DEQot4VVkoyRIBiy.png","isPro":false,"fullname":"Omar Sanseviero","user":"osanseviero","type":"user"},{"_id":"6033ae099aa44495c80dd041","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/1666426679274-6033ae099aa44495c80dd041.jpeg","isPro":false,"fullname":"Bruno Henrique","user":"Bruno","type":"user"},{"_id":"6039478ab3ecf716b1a5fd4d","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/6039478ab3ecf716b1a5fd4d/_Thy4E7taiSYBLKxEKJbT.jpeg","isPro":true,"fullname":"taesiri","user":"taesiri","type":"user"},{"_id":"6055ba6625cd24537dd59dc6","avatarUrl":"/avatars/7896b941b2f3b7f48874db99f99b44a9.svg","isPro":false,"fullname":"Nicolò Brunello","user":"nepp1d0","type":"user"},{"_id":"60597f04d4b07db522410801","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/1624622868907-60597f04d4b07db522410801.jpeg","isPro":false,"fullname":"shekhar koirala","user":"shekharkoirala","type":"user"},{"_id":"60ba519750effef3a58beac3","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/1660312628256-60ba519750effef3a58beac3.png","isPro":false,"fullname":"Matthew Carrigan","user":"Rocketknight1","type":"user"},{"_id":"60c8f437d3f493296bae29f9","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/1623782442046-noauth.png","isPro":false,"fullname":"Alberto Carmona Barthelemy","user":"milyiyo","type":"user"},{"_id":"60c95d5df2627ab18cb456b2","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/60c95d5df2627ab18cb456b2/2d4POSTpvUH5KpfRvBgzu.jpeg","isPro":true,"fullname":"Samuel Xu","user":"samitizerxu","type":"user"},{"_id":"60d2dc1007da9c17c72708f8","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/1624431552569-noauth.jpeg","isPro":true,"fullname":"yuvraj sharma","user":"ysharma","type":"user"},{"_id":"60d35499d7e9cf17e5265ac4","avatarUrl":"/avatars/3a285888a5174bb433f41394cb72e54f.svg","isPro":false,"fullname":"KishoreKunisetty","user":"KishoreK","type":"user"},{"_id":"60f3ca0e3b9f05c9174e8f03","avatarUrl":"/avatars/b4accc88eec94b42dbf2d12a2a198c0e.svg","isPro":false,"fullname":"Balamurugan Periyasamy","user":"balamurugan","type":"user"},{"_id":"60feeabe7e3a7dca9c46d38c","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/1627318953559-noauth.jpeg","isPro":false,"fullname":"Olga Ivanova","user":"olgaiv39","type":"user"},{"_id":"610e6a93119bebecb4d807b3","avatarUrl":"/avatars/76ae71fe8a67345bf8ea3fb793fd5850.svg","isPro":false,"fullname":"Akarsh Upadhyay","user":"iakarshu","type":"user"},{"_id":"612e358d10c9918e17abddf6","avatarUrl":"/avatars/09388eb694033fa5a1abe728198266a9.svg","isPro":false,"fullname":"Ning","user":"zncook","type":"user"},{"_id":"613dbca582b4af22cbd7fdb9","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/1631435931286-noauth.jpeg","isPro":false,"fullname":"nev","user":"nev","type":"user"},{"_id":"61568981cda22084419118b9","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/1647333766503-61568981cda22084419118b9.jpeg","isPro":false,"fullname":"Thanakrit Kansuree","user":"Thanakrit","type":"user"},{"_id":"6156aa9d7ae29924b4e2ea60","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/6156aa9d7ae29924b4e2ea60/pRjkDG2Qv_3qPD5PuYJpT.png","isPro":false,"fullname":"viswanath.barenkala","user":"vissu27","type":"user"},{"_id":"6173c6ef8174823b39bff3ff","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/6173c6ef8174823b39bff3ff/yHRPAJ_w6zXM45mxkVI1E.jpeg","isPro":false,"fullname":"Samarth Agarwal","user":"Sa-m","type":"user"},{"_id":"617e2478f8d3e38de4196ce2","avatarUrl":"/avatars/41fc9c1cc145e595729f5e90f972a36c.svg","isPro":false,"fullname":"Aashiq Muhamed","user":"aashiq","type":"user"},{"_id":"6186fb28149781b36e0a8dcc","avatarUrl":"/avatars/f7fa6ae25b36a7bdd6aa87e97ac6d98a.svg","isPro":false,"fullname":"Horia Cristescu","user":"horia","type":"user"},{"_id":"618f8959ec759925a87f9184","avatarUrl":"/avatars/a283a4f00bf94c89968fda733bbb572b.svg","isPro":false,"fullname":"Matías Benedetto","user":"MatBene","type":"user"},{"_id":"619666e68273651426eb3371","avatarUrl":"/avatars/fc44ccfd932b5b19967dac1eb2ec9e36.svg","isPro":false,"fullname":"Jan \"Yenda\" Trmal","user":"jtrmal","type":"user"},{"_id":"61a7e768989fb8e2c252be90","avatarUrl":"/avatars/f333ad17bb79d855decac845a4ead09e.svg","isPro":false,"fullname":"Peng Shi","user":"Malaina","type":"user"},{"_id":"61ab68e85b18a6f7072b5fb2","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/1651944399858-61ab68e85b18a6f7072b5fb2.jpeg","isPro":false,"fullname":"Nicholas Muchinguri","user":"nickmuchi","type":"user"},{"_id":"61b85ce86eb1f2c5e6233736","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/1655385361868-61b85ce86eb1f2c5e6233736.jpeg","isPro":true,"fullname":"Vaibhav Srivastav","user":"reach-vb","type":"user"},{"_id":"61bb556ec3da89f18e4ef706","avatarUrl":"/avatars/c74aaccece997762dbd5e880a7cb095d.svg","isPro":false,"fullname":"prajjwal mishra","user":"mipra","type":"user"},{"_id":"61bb7f4d9d77f2f37143a83d","avatarUrl":"/avatars/b0cf60bd45150a88319edc5e9fbfdb9f.svg","isPro":false,"fullname":"Shamima Hossain","user":"Shamima","type":"user"},{"_id":"61c9d369a1acc72038e64459","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/1642334491648-61c9d369a1acc72038e64459.jpeg","isPro":false,"fullname":"Seyi Agboola","user":"seyia92coding","type":"user"},{"_id":"61d7f152d8ea7b82103e83e2","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/1643029583199-61d7f152d8ea7b82103e83e2.png","isPro":false,"fullname":"Danil Kononyuk","user":"0x7o","type":"user"},{"_id":"61e847a71b9235ff0403f3c9","avatarUrl":"/avatars/a44c9881f5438f73e9fe14889b2ca451.svg","isPro":false,"fullname":"Taksh Panchal","user":"tensorboy","type":"user"},{"_id":"61f1bba89241a1f9ef5355fe","avatarUrl":"/avatars/fb57796e33b3ed79852c5571d3ec025b.svg","isPro":false,"fullname":"utku","user":"utkusaglm","type":"user"},{"_id":"61f27a218b8bcfbf4870fe67","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/1643280817703-noauth.jpeg","isPro":false,"fullname":"Ankit Kumar Upadhyay","user":"ankitkupadhyay","type":"user"},{"_id":"61f516ccc771e23a1abb620a","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/1643452152858-61f516ccc771e23a1abb620a.jpeg","isPro":false,"fullname":"Akhil Peter Rajan","user":"akhilpeterrajan","type":"user"},{"_id":"61fc476120c583345f868e83","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/61fc476120c583345f868e83/wNKd3iNG8BbDcXGIf1k-T.jpeg","isPro":true,"fullname":"dawood","user":"dawood","type":"user"},{"_id":"61fe358b22e86825e0ac721e","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/1644049744922-noauth.png","isPro":false,"fullname":"Wojak","user":"benmkor","type":"user"},{"_id":"62041f3b99ed1660e9f6119b","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/1648799450516-62041f3b99ed1660e9f6119b.jpeg","isPro":false,"fullname":"Piotr","user":"pplonski","type":"user"},{"_id":"6218fc09b4a71b12215ee9be","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/1648466382900-6218fc09b4a71b12215ee9be.jpeg","isPro":false,"fullname":"Challa Sai Shashank Reddy","user":"shashank1303","type":"user"},{"_id":"621c7e80785a50113cd920af","avatarUrl":"/avatars/0f858e9561514a1ee5ac1f008fa7ffec.svg","isPro":false,"fullname":"fu","user":"feiyun","type":"user"},{"_id":"62253fc2d6d4af2d893cf3d2","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/1659477139076-62253fc2d6d4af2d893cf3d2.jpeg","isPro":false,"fullname":"Cristóbal Alcázar","user":"alkzar90","type":"user"},{"_id":"6228abe946123fc8253a3f3e","avatarUrl":"/avatars/e3bc85530b598316b72ae3243cde15e4.svg","isPro":false,"fullname":"Evelyn Coronel","user":"ponci","type":"user"},{"_id":"6240988d5f104ddb0801d5ec","avatarUrl":"/avatars/7774a9d96916c91af2a9b048ede85edf.svg","isPro":false,"fullname":"Svilarkovic","user":"Dusan","type":"user"},{"_id":"62484eccf3015ebd6653fbac","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/1648907889720-62484eccf3015ebd6653fbac.jpeg","isPro":false,"fullname":"Christian Cancedda","user":"Chris1","type":"user"},{"_id":"6262c83594ee6a5a43395602","avatarUrl":"/avatars/3bb88a4c2e8856aee11ce69ec01faea1.svg","isPro":false,"fullname":"Kushal Ramaiya","user":"KushalRamaiya","type":"user"},{"_id":"626d5aa418565bd9fad1f7e1","avatarUrl":"/avatars/de2f90d578f7abeb1d9e9f9b11b20fd7.svg","isPro":false,"fullname":"Brenden Connors","user":"brendenc","type":"user"},{"_id":"626e112041c3c9d3263e519c","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/1656414800269-626e112041c3c9d3263e519c.png","isPro":false,"fullname":"Shivagowri Reddy","user":"Shivagowri","type":"user"},{"_id":"628dbf46fe861aaeea96f0b6","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/1653458002204-628dbf46fe861aaeea96f0b6.jpeg","isPro":false,"fullname":"Santosh","user":"ShAnSantosh","type":"user"},{"_id":"628e2d749388d6f8efbeaa52","avatarUrl":"/avatars/f6457a75501db33ad81fa8b96895adc0.svg","isPro":false,"fullname":"Anshul Mathur","user":"anshulmathur","type":"user"},{"_id":"62989cd743e990340bead77c","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/1654168730944-noauth.png","isPro":false,"fullname":"Jean de Dieu Nyandwi","user":"Nyandwi","type":"user"},{"_id":"62a84a3f839eeb3ef16f5cc7","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/62a84a3f839eeb3ef16f5cc7/uPF6ZTsjZEQTBV3Sfr7Fo.jpeg","isPro":false,"fullname":"Armand Stricker","user":"armandnlp","type":"user"},{"_id":"62a993d80472c0b7f94027df","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/62a993d80472c0b7f94027df/j5vp-IwLA2YBexylUHiQU.png","isPro":false,"fullname":"Zhang Yuanhan","user":"ZhangYuanhan","type":"user"},{"_id":"62aae5e7680b200ec0fc6369","avatarUrl":"/avatars/d74d2ae4a0c299ab1a2a5186e444d4d5.svg","isPro":false,"fullname":"byrolew","user":"byrolew","type":"user"},{"_id":"62ab56a2d48b4d8b04be5262","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/1655395996990-noauth.png","isPro":false,"fullname":"Rafael Dias","user":"RafaelDias","type":"user"},{"_id":"62ab5a9d890c7773a6df7a54","avatarUrl":"/avatars/2fea48dd8abb67b59aecee6a5f4c10a9.svg","isPro":false,"fullname":"Seiler Rivers","user":"seilerrivers","type":"user"},{"_id":"62ab7b4175ff4cc35cc5c965","avatarUrl":"/avatars/12b46ad3e35b1feaca959f1cc1da9621.svg","isPro":false,"fullname":"Irina Mocan","user":"IrinaMocan","type":"user"},{"_id":"62ac13cd52ab87a4fcf9d119","avatarUrl":"/avatars/d76809bd0126ad0b898fedb783aa008b.svg","isPro":false,"fullname":"Piotr Woznicki","user":"pwoznicki","type":"user"},{"_id":"62ac149738010e3158b9e5dc","avatarUrl":"/avatars/957ffce91d4147b0ad58e710aade5f5f.svg","isPro":false,"fullname":"Alexander Hendorf","user":"alanderex","type":"user"},{"_id":"62b068fcb886d0c4a8938806","avatarUrl":"/avatars/56f0c99db0ca774023bd6e14f490c968.svg","isPro":false,"fullname":"Jithin James","user":"jithinjames","type":"user"},{"_id":"62b10376dcbad6848a88a7d7","avatarUrl":"/avatars/c67b568a068c01d80650b875a9c016e7.svg","isPro":false,"fullname":"Kweku Opoku-Agyemang","user":"kwekuoamlxd","type":"user"},{"_id":"62b8e53de981daf6c957f4dc","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/1656284644897-62b8e53de981daf6c957f4dc.jpeg","isPro":false,"fullname":"Fernanda","user":"Fer78","type":"user"},{"_id":"62b9e3890b85d500b9b438ec","avatarUrl":"/avatars/65c0157ed1a32c493e49ca9a18455956.svg","isPro":false,"fullname":"Aye","user":"Cyberaka","type":"user"},{"_id":"62bae9abae1170ae0ddd38b5","avatarUrl":"/avatars/699b0f83841348d4603b8453bc9321d2.svg","isPro":false,"fullname":"Felipe Lisboa","user":"felipeLx","type":"user"},{"_id":"62bd87fce06c2f0ff8553964","avatarUrl":"/avatars/9f7fe6caae04cde6d4130e3d9e9c3d91.svg","isPro":false,"fullname":"Riya","user":"29riyasaxena","type":"user"},{"_id":"62be9eae8289de10a664d7e8","avatarUrl":"/avatars/e306cfded178b99deb4bc9437327c2d0.svg","isPro":false,"fullname":"Jennifer Mackown","user":"jcmc208","type":"user"},{"_id":"62c48022143622c927918f0d","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/1657045412027-62c48022143622c927918f0d.jpeg","isPro":false,"fullname":"Nathan Swanson","user":"NSwanson","type":"user"},{"_id":"62c4976a154b420cb07c07f3","avatarUrl":"/avatars/02514cbf28034075244ec71c4a1100b3.svg","isPro":false,"fullname":"Deema Khaled","user":"Deemakh","type":"user"},{"_id":"62c4d289a943a5408ec4d252","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/1675612818673-62c4d289a943a5408ec4d252.png","isPro":false,"fullname":"James Harned","user":"jharned","type":"user"},{"_id":"62c6ae1685bd5c9b9a70b48d","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/1657188529279-62c6ae1685bd5c9b9a70b48d.jpeg","isPro":false,"fullname":"Burak Ince","user":"burakince","type":"user"},{"_id":"62c6d78a9ed454e0d215da48","avatarUrl":"/avatars/6e0ecaebc7979183c14f7834ab0995db.svg","isPro":false,"fullname":"Piotr Gniewek","user":"pgniewek","type":"user"},{"_id":"62c6dcab71d1a0742d038765","avatarUrl":"/avatars/038e3d6a5f00949c103f66003a4ee2ae.svg","isPro":false,"fullname":"David Alexander","user":"dalexanderch","type":"user"},{"_id":"62c7fa9ab91cc13f96f251a7","avatarUrl":"/avatars/329407606f214a5bb62b70bd1b60aedc.svg","isPro":false,"fullname":"Uddeshya Upadhyay","user":"udion","type":"user"},{"_id":"62c9a00b0011ffa7b34b514f","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/1657380867523-noauth.png","isPro":false,"fullname":"Sourav Shukla","user":"sourav11295","type":"user"},{"_id":"62cb1a6098f35782df5fd966","avatarUrl":"/avatars/443fa64c4013b772cde9d581a97c4fd2.svg","isPro":false,"fullname":"Jorge C","user":"jorgejungle","type":"user"},{"_id":"62cbfa17c3b4dac5b27a2cbc","avatarUrl":"/avatars/4d20471140c23ef479b9b55ba303e02f.svg","isPro":false,"fullname":"Sebastian Gerard","user":"sgerard","type":"user"},{"_id":"62cbfe2f02e7a64f339ed9d3","avatarUrl":"/avatars/31924dc3d66431acc8134b8528cafa08.svg","isPro":false,"fullname":"kenobe","user":"zobe","type":"user"},{"_id":"62cc1964c3b4dac5b27b7397","avatarUrl":"/avatars/659abfb55f35d70d185cb9398fe8db46.svg","isPro":false,"fullname":"Daniel","user":"daniel15","type":"user"},{"_id":"62cc1b7f34130e659f4e3517","avatarUrl":"/avatars/6a99295a256d517fc21371105c8fe0bd.svg","isPro":false,"fullname":"Claudio Peroni","user":"abovethecloud","type":"user"},{"_id":"62cc1bf8c3b4dac5b27b910a","avatarUrl":"/avatars/b74d9356730a5b63027cbfa9326693f3.svg","isPro":false,"fullname":"Stan","user":"stasguy","type":"user"},{"_id":"62cc3cf9376917c0223aa551","avatarUrl":"/avatars/85d2b4a97b41911e9d555bd29434d4d2.svg","isPro":false,"fullname":"moutaz elias","user":"mtelias2","type":"user"},{"_id":"62cd35621f805a62f5bf4c5d","avatarUrl":"/avatars/8222b744c178e68053d3bafe19c6903b.svg","isPro":false,"fullname":"Sathish Kumar Lakshmanan","user":"sathishklakshmanan","type":"user"},{"_id":"62ceb65f2762518385115a2f","avatarUrl":"/avatars/ebbcbed117096f44d90c704e6248d00d.svg","isPro":false,"fullname":"Recep Gül","user":"Recep","type":"user"},{"_id":"62d093ac80c9d4ceb2082305","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/1659059107885-62d093ac80c9d4ceb2082305.jpeg","isPro":false,"fullname":"MARTINEZ","user":"OMARS200","type":"user"},{"_id":"62d143579453ab04bb855366","avatarUrl":"/avatars/7c837560afc6b6104af7ca44e094ef65.svg","isPro":false,"fullname":"Vinícius Ferreira","user":"vinigfer","type":"user"},{"_id":"62d163b2e748e12e04e00fee","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/1657889667671-noauth.jpeg","isPro":false,"fullname":"Satvik Kumar","user":"satvikkumar","type":"user"},{"_id":"62d22496c58f969c152bcefd","avatarUrl":"/avatars/76c3b70e312f25e1e610473475553c5c.svg","isPro":false,"fullname":"Tiezhen WANG","user":"xianbao","type":"user"},{"_id":"62d2fcfac20456076a27c1ba","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/1657994474237-noauth.png","isPro":false,"fullname":"Garvit","user":"Drago108","type":"user"},{"_id":"62d32dbf498762ed5f40a787","avatarUrl":"/avatars/f4100fd66c2a6a504c79725e82ba22bf.svg","isPro":false,"fullname":"Sunku Venkata Revanth Kumar","user":"revanthSunku","type":"user"},{"_id":"62d3a48799febd9a270f8228","avatarUrl":"/avatars/4f9ac82a94f0a8605116122f5e8a1343.svg","isPro":false,"fullname":"Shahzad Khan","user":"shahzadamjadk","type":"user"},{"_id":"62d3e72d894e7fe42df14d9e","avatarUrl":"/avatars/df0ddfe32de34fe4379488b6d4d87127.svg","isPro":false,"fullname":"Wiktor","user":"viciu","type":"user"},{"_id":"62d4075d97ab9eb0875ae1e0","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/62d4075d97ab9eb0875ae1e0/ZfnveLiOfOajQ0163-Vet.png","isPro":false,"fullname":"Iqbal Abdullah","user":"iqbalabd","type":"user"}],"userCount":134,"collections":[],"datasets":[],"models":[],"paperPreviews":[],"spaces":[{"author":"EuroPython2022","authorData":{"_id":"62aa3db6d10550b2fc613b9a","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/1655324219903-60f1abe7544c2adfd699860c.png","fullname":"EuroPython 2022","name":"EuroPython2022","type":"org","isHf":false,"isHfAdmin":false,"isMod":false,"isEnterprise":false,"followerCount":157,"isUserFollowing":false},"colorFrom":"red","colorTo":"red","createdAt":"2022-07-19T05:26:50.000Z","emoji":"🚀","id":"EuroPython2022/OCR-Translate","lastModified":"2023-11-20T07:54:50.000Z","likes":19,"pinned":false,"private":false,"sdk":"gradio","repoType":"space","runtime":{"stage":"RUNNING","hardware":{"current":"cpu-basic","requested":"cpu-basic"},"storage":null,"gcTimeout":86400,"replicas":{"current":1,"requested":1},"devMode":false,"domains":[{"domain":"europython2022-ocr-translate.hf.space","stage":"READY"}],"sha":"5d945273a67f69d5710d338196e00132ee2174c9"},"title":"OCR Translate","isLikedByUser":false,"ai_short_description":"Extract and translate text from images","ai_category":"OCR","trendingScore":0,"tags":["gradio","region:us"],"featured":false},{"author":"EuroPython2022","authorData":{"_id":"62aa3db6d10550b2fc613b9a","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/1655324219903-60f1abe7544c2adfd699860c.png","fullname":"EuroPython 2022","name":"EuroPython2022","type":"org","isHf":false,"isHfAdmin":false,"isMod":false,"isEnterprise":false,"followerCount":157,"isUserFollowing":false},"colorFrom":"yellow","colorTo":"pink","createdAt":"2022-07-16T20:11:15.000Z","emoji":"🐠","id":"EuroPython2022/Translate-with-Bloom","lastModified":"2022-12-07T17:29:28.000Z","likes":33,"pinned":false,"private":false,"sdk":"gradio","repoType":"space","runtime":{"stage":"BUILD_ERROR","hardware":{"current":null,"requested":"cpu-basic"},"storage":null,"gcTimeout":86400,"errorMessage":"Unexpected build error","replicas":{"requested":1},"devMode":false,"domains":[{"domain":"europython2022-translate-with-bloom.hf.space","stage":"READY"}]},"title":"Translate With Bloom","isLikedByUser":false,"trendingScore":0,"tags":["gradio","region:us"],"featured":false},{"author":"EuroPython2022","authorData":{"_id":"62aa3db6d10550b2fc613b9a","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/1655324219903-60f1abe7544c2adfd699860c.png","fullname":"EuroPython 2022","name":"EuroPython2022","type":"org","isHf":false,"isHfAdmin":false,"isMod":false,"isEnterprise":false,"followerCount":157,"isUserFollowing":false},"colorFrom":"yellow","colorTo":"green","createdAt":"2022-07-17T17:06:07.000Z","emoji":"🌖","id":"EuroPython2022/automatic-speech-recognition-with-next-gen-kaldi","lastModified":"2022-12-06T02:56:46.000Z","likes":5,"pinned":false,"private":false,"sdk":"gradio","repoType":"space","runtime":{"stage":"RUNTIME_ERROR","hardware":{"current":null,"requested":"cpu-basic"},"storage":null,"gcTimeout":86400,"errorMessage":"Scheduling failure: not enough hardware capacity","replicas":{"requested":1},"devMode":false,"domains":[{"domain":"europython2022-automatic-speech-recognition-with-b76c547.hf.space","stage":"READY"}]},"title":"Automatic Speech Recognition","isLikedByUser":false,"trendingScore":0,"tags":["gradio","region:us"],"featured":false},{"author":"EuroPython2022","authorData":{"_id":"62aa3db6d10550b2fc613b9a","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/1655324219903-60f1abe7544c2adfd699860c.png","fullname":"EuroPython 2022","name":"EuroPython2022","type":"org","isHf":false,"isHfAdmin":false,"isMod":false,"isEnterprise":false,"followerCount":157,"isUserFollowing":false},"colorFrom":"yellow","colorTo":"blue","createdAt":"2022-07-17T19:07:11.000Z","emoji":"😻","id":"EuroPython2022/pulsar-clip","lastModified":"2022-10-06T18:01:48.000Z","likes":8,"pinned":false,"private":false,"sdk":"gradio","repoType":"space","runtime":{"stage":"BUILD_ERROR","hardware":{"current":null,"requested":"cpu-basic"},"storage":null,"gcTimeout":86400,"errorMessage":"Build failed with exit code: 1","replicas":{"requested":1},"devMode":false,"domains":[{"domain":"europython2022-pulsar-clip.hf.space","stage":"READY"}]},"title":"Pulsar Clip","isLikedByUser":false,"trendingScore":0,"tags":["gradio","region:us"],"featured":false},{"author":"EuroPython2022","authorData":{"_id":"62aa3db6d10550b2fc613b9a","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/1655324219903-60f1abe7544c2adfd699860c.png","fullname":"EuroPython 2022","name":"EuroPython2022","type":"org","isHf":false,"isHfAdmin":false,"isMod":false,"isEnterprise":false,"followerCount":157,"isUserFollowing":false},"colorFrom":"gray","colorTo":"gray","createdAt":"2022-07-18T11:39:50.000Z","emoji":"🔥","id":"EuroPython2022/pyro-vision","lastModified":"2022-09-18T15:58:19.000Z","likes":1,"pinned":false,"private":false,"sdk":"gradio","repoType":"space","runtime":{"stage":"RUNTIME_ERROR","hardware":{"current":null,"requested":"cpu-basic"},"storage":null,"gcTimeout":86400,"errorMessage":"Scheduling failure: not enough hardware capacity","replicas":{"requested":1},"devMode":false,"domains":[{"domain":"europython2022-pyro-vision.hf.space","stage":"READY"}]},"title":"PyroVision","isLikedByUser":false,"trendingScore":0,"tags":["gradio","region:us"],"featured":false},{"author":"EuroPython2022","authorData":{"_id":"62aa3db6d10550b2fc613b9a","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/1655324219903-60f1abe7544c2adfd699860c.png","fullname":"EuroPython 2022","name":"EuroPython2022","type":"org","isHf":false,"isHfAdmin":false,"isMod":false,"isEnterprise":false,"followerCount":157,"isUserFollowing":false},"colorFrom":"gray","colorTo":"gray","createdAt":"2022-07-16T06:44:37.000Z","emoji":"🌸","id":"EuroPython2022/Write-Stories-Using-Bloom","lastModified":"2022-08-22T15:26:12.000Z","likes":22,"pinned":false,"private":false,"sdk":"gradio","repoType":"space","runtime":{"stage":"BUILD_ERROR","hardware":{"current":null,"requested":"cpu-basic"},"storage":null,"gcTimeout":86400,"errorMessage":"Unexpected build error","replicas":{"requested":1},"devMode":false,"domains":[{"domain":"europython2022-write-stories-using-bloom.hf.space","stage":"READY"}]},"title":"Write Stories Using Bloom","isLikedByUser":false,"trendingScore":0,"tags":["gradio","region:us"],"featured":false}],"numDatasets":0,"numModels":0,"numSpaces":39,"lastOrgActivities":[{"time":"2026-01-19T02:46:39.949Z","user":"taesiri","userAvatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/6039478ab3ecf716b1a5fd4d/_Thy4E7taiSYBLKxEKJbT.jpeg","type":"paper-daily","paper":{"id":"2601.10909","title":"FrankenMotion: Part-level Human Motion Generation and Composition","thumbnailUrl":"https://cdn-thumbnails.huggingface.co/social-thumbnails/papers/2601.10909.png","upvotes":10,"publishedAt":"2026-01-15T23:50:07.000Z","isUpvotedByUser":true}},{"time":"2026-01-19T02:41:12.663Z","user":"taesiri","userAvatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/6039478ab3ecf716b1a5fd4d/_Thy4E7taiSYBLKxEKJbT.jpeg","type":"paper-daily","paper":{"id":"2601.11516","title":"Building Production-Ready Probes For Gemini","thumbnailUrl":"https://cdn-thumbnails.huggingface.co/social-thumbnails/papers/2601.11516.png","upvotes":3,"publishedAt":"2026-01-16T18:54:29.000Z","isUpvotedByUser":true}},{"time":"2026-01-19T02:39:55.023Z","user":"taesiri","userAvatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/6039478ab3ecf716b1a5fd4d/_Thy4E7taiSYBLKxEKJbT.jpeg","type":"paper-daily","paper":{"id":"2601.10825","title":"Reasoning Models Generate Societies of Thought","thumbnailUrl":"https://cdn-thumbnails.huggingface.co/social-thumbnails/papers/2601.10825.png","upvotes":5,"publishedAt":"2026-01-15T19:52:33.000Z","isUpvotedByUser":true}}],"acceptLanguages":["*"],"canReadRepos":false,"canReadSpaces":false,"blogPosts":[],"currentRepoPage":0,"filters":{},"paperView":false}">

AI & ML interests

None defined yet.

Recent Activity

Announcement: deadline to submit demos was extended to July 24th! EuroPython 2022

EuroPython Dublin, You're invited!

Welcome to the 21st EuroPython. We're the oldest and longest running volunteer-led Python programming conference on the planet! Join us in July in the beautiful and vibrant city of Dublin. We'll be together, face to face and online, to celebrate our shared passion for Python and its community!

Hugging Face Gradio Hackathon 🤗

Come Join us from July 13th to 24th for a Hackathon in person and online using Gradio and Hugging Face to build and host Machine Learning demos. Find tutorial on getting started with Gradio on Hugging Face here and to get started with the new Gradio Blocks API here. Once the gradio demo is setup, see how to add it to Hugging Face Spaces here. Come see the talk on How to craft awesome Machine Learning demos with Python in Liffey Hall 2 on 13 July 2022 at 14:00 by Omar Sanseviero

Sprint July 16 and 17
  • Number of people: 3 maintainers + anyone willing to join
  • Build Machine Learning demos. You can also join if you don't know much about ML!
  • Liffey Hall 2
  • Python Level: any
Join organization by clicking here Europython Banner Potential ideas for creating spaces: Hugging Face Prizes LeaderBoard for Most Popular EuroPython Spaces

See the EuroPython Leaderboard

Hugging Face Spaces & Gradio for Showcasing your EuroPython ‘22 Demo

In this tutorial, we will demonstrate how to showcase your demo with an easy to use web interface using the Gradio Python library and host it on Hugging Face Spaces so that conference attendees can easily find and try out your demos. Also, see https://gradio.app/introduction_to_blocks/, for a more flexible way to build Gradio Demos

🚀 Create a Gradio Demo from your Model

The first step is to create a web demo from your model. As an example, we will be creating a demo from an image classification model (called model) which we will be uploading to Spaces. The full code for steps 1-4 can be found in this colab notebook.


1. Install the gradio library

All you need to do is to run this in the terminal: pip install gradio


2. Define a function in your Python code that performs inference with your model on a data point and returns the prediction

Here’s we define our image classification model prediction function in PyTorch (any framework, like TensorFlow, scikit-learn, JAX, or a plain Python will work as well):


def predict(inp):

    inp = Image.fromarray(inp.astype('uint8'), 'RGB')
  
    inp = transforms.ToTensor()(inp).unsqueeze(0)
  
    with torch.no_grad():

      prediction = torch.nn.functional.softmax(model(inp)[0], dim=0)

    return {labels[i]: float(prediction[i]) for i in range(1000)}

3. Then create a Gradio Interface using the function and the appropriate input and output types

For the image classification model from Step 2, it would like like this:


inputs = gr.inputs.Image()

outputs = gr.outputs.Label(num_top_classes=3)

io = gr.Interface(fn=predict, inputs=inputs, outputs=outputs)

If you need help creating a Gradio Interface for your model, check out the Gradio Getting Started guide.

4. Then launch() you Interface to confirm that it runs correctly locally (or wherever you are running Python)

io.launch() 

You should see a web interface like the following where you can drag and drop your data points and see the predictions:

Gradio Interface

models 0

None public yet

datasets 0

None public yet