abdulsamad commited on
Commit
4f8aea4
·
verified ·
1 Parent(s): 3d1780c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -22,4 +22,12 @@ import torch
22
 
23
  import gradio as gr
24
 
25
- gr.Label("Hi AI")
 
 
 
 
 
 
 
 
 
22
 
23
  import gradio as gr
24
 
25
+ # Your string variable (replace with your actual content)
26
+ text = "Hello, Gradio!"
27
+
28
+ # Create a Gradio interface with a label
29
+ label = gr.Label(text)
30
+
31
+ # Launch the Gradio app
32
+ interface = gr.Interface(inputs=None, outputs=label, title="String Display Example")
33
+ interface.launch()