Vasilije Ivanovic commited on
Commit
cb30def
·
2 Parent(s): 5f516b5322c949

pokidala verzija

Browse files
app.py CHANGED
@@ -21,4 +21,6 @@ demo = gr.Interface(
21
  )
22
 
23
  if __name__ == "__main__":
24
- demo.launch()
 
 
 
21
  )
22
 
23
  if __name__ == "__main__":
24
+ print("🚀 Starting TurBot application...")
25
+ print("📱 Server will be available at: http://127.0.0.1:7860")
26
+ demo.launch(server_name="127.0.0.1", server_port=7860)
lenka2testtxt ADDED
File without changes
lenkajelradi.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ hello
src/__pycache__/agent.cpython-310.pyc ADDED
Binary file (3.84 kB). View file
 
test_simple_gradio.py ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def hello(name):
4
+ return f"Hello {name}!"
5
+
6
+ # Create a simple interface
7
+ demo = gr.Interface(
8
+ fn=hello,
9
+ inputs="text",
10
+ outputs="text",
11
+ title="Simple Test"
12
+ )
13
+
14
+ if __name__ == "__main__":
15
+ print("🚀 Starting simple Gradio test...")
16
+ print("📱 Look for the URL in the output below...")
17
+ demo.launch(server_name="127.0.0.1", server_port=7860)