nathanjames commited on
Commit
b795f9b
·
verified ·
1 Parent(s): 6da3fc0

Create app. No py

Browse files
Files changed (1) hide show
  1. app. No py +17 -0
app. No py ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def ai_computer_chat(mensahe, kasaysayan):
4
+ # Tugon ng iyong AI Computer
5
+ tugon = f"Kamusta! Ako ang iyong AI Computer. Natanggap ko ang mensahe mo: '{mensahe}'"
6
+ return tugon
7
+
8
+ # Paggawa ng magandang interface para sa mga gagamit
9
+ demo = gr.ChatInterface(
10
+ fn=ai_computer_chat,
11
+ title="🤖 AI Computer",
12
+ description="Welcome sa AI Computer! Pwede mo akong kausapin dito.",
13
+ examples=["Kamusta AI Computer!", "Ano ang kaya mong gawin?"]
14
+ )
15
+
16
+ if __name__ == "__main__":
17
+ demo.launch()