Hugging Face
Search models, datasets, users...
Ctrl K
Models
Datasets
Spaces
Buckets
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Hardware
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
yousefkatter
/
chatbot
Like
0
No application file
App
Files
Files
Community
1
Fetching metadata from the HF Docker repository...
Create chat2.py
#1
by
yousefkatter
- opened
Apr 16, 2025
base:
refs/heads/main
←
from:
refs/pr/1
Discussion
Files changed
+6
-0
Files changed (1)
hide
show
chat2.py
+6
-0
chat2.py
ADDED
Viewed
@@ -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()