9voltfan2009 commited on
Commit
cabc250
·
verified ·
1 Parent(s): ff29df9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -6
app.py CHANGED
@@ -1,10 +1,13 @@
1
  import gradio as gr
2
 
3
- def text(text):
4
- gr.Markdown("<h1 style='font-size:40px;'>9-Volt Fan's RVC Voice Models</h1>")
5
- gr.Markdown("<h4 style='font-size:25px;'>I make RVC voice models!</h4>")
6
- gr.Markdown("<p>To request a voice model, ask in the discussions, and I'll be able to make it just for you.</p>")
7
- gr.Markdown('<a href="https://huggingface.co/collections/ark142/rvc-voice-models-681506cb89322fa7cb2e45fa" target="_blank">Click here to visit my RVC voice models!</a>')
 
 
 
 
8
 
9
- demo = gr.Interface(fn=text, inputs="text", outputs="text")
10
  demo.launch()
 
1
  import gradio as gr
2
 
3
+ with gr.Blocks(css="style.css") as demo:
4
+ gr.Markdown("# 9-Volt Fan's RVC Voice Models")
5
+ gr.Markdown("""
6
+ I make RVC voice models! To request a voice model, ask in the discussions or send me an email, and I'll be able to make it just for you. [Click here to visit my RVC voice models!](https://huggingface.co/collections/ark142/rvc-voice-models-681506cb89322fa7cb2e45fa)
7
+ """)
8
+
9
+ gr.Markdown("## Contact)
10
+ contact = gr.Textbox(placeholder="Insert your message here...", lines=3, label="Message")
11
+ gr.Button("Send").click(lambda msg: "Thanks for your message! I should get your message shortly.", inputs=contact, outputs=gr.Textbox(label="Response"))
12
 
 
13
  demo.launch()