canksdi commited on
Commit
7d6a4f0
·
verified ·
1 Parent(s): 1345879

Upload 3 files

Browse files
Files changed (3) hide show
  1. app2.py +15 -0
  2. requirements_minimal.txt +1 -0
  3. runtime.txt +1 -0
app2.py ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def greet(name):
4
+ return f"Merhaba {name}!"
5
+
6
+ # Basit bir Gradio uygulaması
7
+ demo = gr.Interface(
8
+ fn=greet,
9
+ inputs="text",
10
+ outputs="text",
11
+ title="Basit Test Uygulaması",
12
+ description="Bu çalışıyorsa, sorun ana uygulamanın kodundadır."
13
+ )
14
+
15
+ demo.launch()
requirements_minimal.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ gradio==3.32.0
runtime.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ python-3.9