Files changed (1) hide show
  1. chat2.py +6 -0
chat2.py ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def reply(message):
4
+ return f"أهلاً! قلت: {message}"
5
+
6
+ gr.Interface(fn=reply, inputs="text", outputs="text").launch()