nafees369's picture
Rename App.py to app.py
eb32ee4 verified
raw
history blame contribute delete
510 Bytes
# -*- coding: utf-8 -*-
"""standard.ipynb
Automatically generated by Colab.
Original file is located at
https://colab.research.google.com/drive/1RHDa_ocja09KWKneWOd2Cvq2Pl2grfdk
"""
import gradio as gr
with gr.Blocks() as demo:
input_text = gr.Textbox(label="input")
@gr.render(inputs=input_text)
def show_split(text):
if len(text) == 0:
gr.Markdown("## No Input Provided")
else:
for letter in text:
gr.Textbox(letter)
demo.launch()