AI_Game / test_gradio.py
ducnguyen1978's picture
Upload folder using huggingface_hub
815d041 verified
raw
history blame contribute delete
310 Bytes
import gradio as gr
def simple_test():
return "Hello, Gradio is working!"
# Test simple interface
interface = gr.Interface(fn=simple_test, inputs=[], outputs="text")
if __name__ == "__main__":
print("Starting Gradio test...")
interface.launch(share=False, debug=True, server_port=7860)