
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
Gradio 인터페이스는 정상적으로 만들어지는데 실행하면 모든 예제가 아래와 같이 TypeError 오류가 납니다.
어떤 조치를 취해야 할까요?
보고 계

신 화면 전체를 캡처해 주시면, 튜터님들이 빠르게 상황을 이해할 수 있어요.
작성한 코드 및 에러 메세지
import gradio as gr
def flip_text(x):
return x[::-1]
with gr.Blocks() as blocks_test:
gr.Markdown("뒤집고 싶은 문자열을 입력하고, **실행** 을 눌러 결과를 확인하세요!")
with gr.Row():
inp = gr.Textbox(placeholder="뒤집고 싶은 문자열")
out = gr.Textbox()
btn = gr.Button("실행")
btn.click(fn=flip_text, inputs=inp, outputs=out)
blocks_test.launch()
Setting queue=True in a Colab notebook requires sharing enabled. Setting `share=True` (you can turn this off by setting `share=False` in `launch()` explicitly).
Colab notebook detected. To show errors in colab notebook, set debug=True in launch()
Running on public URL: https://c221c998d4524be859.gradio.live
This share link expires in 72 hours. For free permanent hosting and GPU upgrades, run `gradio deploy` from Terminal to deploy to Spaces (https://huggingface.co/spaces)
오류 발생 시, 작성한 코드 전체와 에러 메시지를 첨부해 주세요.
Tip 1) </> 아이콘을 눌러 코드박스를 만들어 보세요.
Tip 2) Ctrl+A(맥의 경우 Command+A) 단축키로 코드를 한 번에 선택할 수 있어요!
