qgallouedec HF Staff commited on
Commit
c6595fc
·
1 Parent(s): d60c0fe
Files changed (1) hide show
  1. app.py +8 -3
app.py CHANGED
@@ -1,6 +1,11 @@
1
  import gradio as gr
2
 
3
- def greet(name):
4
- return f"Hello {name}!"
 
5
 
6
- iface = gr.Interface(fn=greet, inputs="text", outputs="text").launch()
 
 
 
 
 
1
  import gradio as gr
2
 
3
+ MARKDOWN = """# TRL jobs
4
+ Start typing below to see the output.
5
+ """
6
 
7
+ with gr.Blocks() as demo:
8
+ gr.Markdown(MARKDOWN)
9
+
10
+ if __name__ == "__main__":
11
+ demo.launch()