From 78c81504156c9e3f4b2c8a3227a6a342a705396f Mon Sep 17 00:00:00 2001 From: manikumarreddyu <133508962+manikumarreddyu@users.noreply.github.com> Date: Tue, 4 Jun 2024 11:31:11 +0530 Subject: [PATCH] change small change --- streamlit-with-gradio-api/README.md | 1 - streamlit-with-gradio-api/app.py | 30 ----------------------------- 2 files changed, 31 deletions(-) delete mode 100644 streamlit-with-gradio-api/README.md delete mode 100644 streamlit-with-gradio-api/app.py diff --git a/streamlit-with-gradio-api/README.md b/streamlit-with-gradio-api/README.md deleted file mode 100644 index 914226ace..000000000 --- a/streamlit-with-gradio-api/README.md +++ /dev/null @@ -1 +0,0 @@ -# streamlit-with-gradio-api diff --git a/streamlit-with-gradio-api/app.py b/streamlit-with-gradio-api/app.py deleted file mode 100644 index 4359bd737..000000000 --- a/streamlit-with-gradio-api/app.py +++ /dev/null @@ -1,30 +0,0 @@ -import streamlit as st -import requests -import base64 - -st.title("Text to Speech App powered by Gradio API hosted on 🤗") - -inp_text = st.text_input("Enter your text here.....") - -button = st.button("⚡️ Text to speech magic ⚡️") - -if button: - - with st.spinner(): - - response_json = requests.post("https://abidlabs-speak.hf.space/run/predict", json={ - "data": [ - inp_text, - ]}).json() - - - md = f""" - - """ - st.markdown( - md, - unsafe_allow_html=True, - ) -